此错误为:匿名用户在本机毫无权限 [root@localhost mysql]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 to server version: 5.0.22-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | test | +--------------------+ 2 rows in set (0.00 sec) 解决办法请看这篇文章重设一下root密码:http://blog.csdn.net/load_life/article/details/8168165
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
最新推荐文章于 2021-01-18 22:45:11 发布