mysql ERROR 1045 (28000): Access denied for user 'ro
程序员文章站
2023-12-24 08:51:33
...
mysql 安装后,登录报错,虽然安装时设置了密码。 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 解决方法: # mysql -u root mysql mysql UPDATE user SET Password=PASSWORD('newpassword') where USER='root'; m
mysql 安装后,登录报错,虽然安装时设置了密码。
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
解决方法:
# mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('newpassword') where USER='root';
mysql> FLUSH PRIVILEGES;
mysql> quit
# /etc/init.d/mysqld restart
在命令行再次修改后,重启mysql服务即可。
推荐阅读
-
mysql ERROR 1045 (28000): Access denied for user 'ro
-
winxp 安装MYSQL 出现Error 1045 access denied 的解决方法
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
新装MySql后登录出现root帐号提示mysql ERROR 1045 (28000): Access denied for use的解决办法
-
解决mysql ERROR 1045 (28000)-- Access denied for user问题
-
ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)
-
MYSQL ERROR 1045 (28000): Access denied for user (using password: YES)问题的解决
-
ERROR 1045: Access denied for user: root@localhost (Using password: NO)
-
新装MySql后登录出现root帐号提示mysql ERROR 1045 (28000): Access denied for use的解决办法
-
解决mysql ERROR 1045 (28000)-- Access denied for user问题