REVOKE <許可權型別> [ ( <列名> ) ] [ , <許可權型別> [ ( <列名> ) ] ]…
ON <物件型別> <許可權名> FROM <使用者1> [ , <使用者2> ]…
REVOKE ALL PRIVILEGES, GRANT OPTION
FROM user <使用者1> [ , <使用者2> ]…
mysql> REVOKE INSERT ON *.* -> FROM 'testUser'@'localhost'; Query OK, 0 rows affected (0.00 sec) mysql> SELECT Host,User,Select_priv,Insert_priv,Grant_priv -> FROM mysql.user -> WHERE User='testUser'; +-----------+----------+-------------+-------------+------------+ | Host | User | Select_priv | Insert_priv | Grant_priv | +-----------+----------+-------------+-------------+------------+ | localhost | testUser | Y | N | Y | +-----------+----------+-------------+-------------+------------+ 1 row in set (0.00 sec)