删除MySQL中的匿名用户

时间:2018-04-16 14:31:29

标签: mysql phpmyadmin lamp

我收到此错误

Remove anonymous users? [Y/n] y
ERROR 1142 (42000) at line 1: DELETE command denied to user 'root'@'localhost' for table 'user'
 ... Failed!
1 at /usr/bin/mysql_secure_installation line 224, <STDIN> line 3.
Cleaning up...

在尝试重置MySQL设置的同时,我还用root登录shell,有什么想法吗?

0 个答案:

没有答案