|
ifeelstupid 发表于 2012-9-20 16:41 ![]()
和版本没关系,你没有按照我的步骤做,不要用grant的方式创建用户,你按照我的步骤做一下就知道了!
mysql> create user test;
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on *.* to test@'%';
Query OK, 0 rows affected (0.00 sec)
mysql> revoke all on mysql.* from 'test'@'%';
ERROR 1141 (42000): There is no such grant defined for user 'test' on host '%'
mysql>
mysql>
mysql> revoke all on mysql.* from test@'%';
ERROR 1141 (42000): There is no such grant defined for user 'test' on host '%'
mysql> revoke all on mysql.* from 'test'@'%';
ERROR 1141 (42000): There is no such grant defined for user 'test' on host '%'
mysql> |
|