REVOKE ALL PRIVILEGES ON `testdbname`.* FROM 'testdbuser'@'localhost'; FLUSH PRIVILEGES;