标签: mysql revoke
我无法撤消之前授予他的用户的权利
我给了GRANT ALL ON [database].* TO 'user'@'%',因为我需要一些用户有权访问所有表,除非其中之一。然后我写道: REVOKE ALL ON [database].table1 FROM 'user'@'%',但它表示:ERROR 1147 (42000): There is no such grant defined for user 'user' on host '%' on table 'table1';
GRANT ALL ON [database].* TO 'user'@'%'
REVOKE ALL ON [database].table1 FROM 'user'@'%'
ERROR 1147 (42000): There is no such grant defined for user 'user' on host '%' on table 'table1'