当前位置:网站首页>MySQL 8.0 above reporting 2058 solution

MySQL 8.0 above reporting 2058 solution

2022-06-29 00:10:00 hay_ lee

mysql Control modification mysql_native_password

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY ' New password ';

This will solve the problem , But restart mysql And then it will fail ;

Need configuration vi /etc/my.cnf: Remove the red circle comment , And then restart mysql That's all right. .


 

原网站

版权声明
本文为[hay_ lee]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/179/202206282357273281.html