安装完之后,启动mysql后,输入如下命令:
[root@centos ~]# mysql_secure_installation
系统提示:
Enter current password for root(enter for none):
之后输入密码 123456
系统就提示 如下错误:
ERROR 1045 (28000):Access denied for user 'root'@'localhost' (using password:YES)
找了很多资料也没解决这个问题,求解答?
谢谢!
[root@centos ~]# mysql_secure_installation
系统提示:
Enter current password for root(enter for none):
之后输入密码 123456
系统就提示 如下错误:
ERROR 1045 (28000):Access denied for user 'root'@'localhost' (using password:YES)
找了很多资料也没解决这个问题,求解答?
谢谢!

1