MySQL8.0的caching_sha2_password问题

2019-07-10 1942点热度 0人点赞 0条评论

用phpmyadmin连接mysql8.0报错

http://www.wangxianfeng.cn/wp-content/uploads/2019/07/phpmyadmin-error.png

解决方法

命令行登录mysql;
mysql>use mysql;
mysql>ALTER USER root IDENTIFIED WITH mysql_native_password BY '你的密码';
mysql>FLUSH PRIVILEGES;

参考链接

http://tieba.baidu.com/p/5693304822

王显锋

激情工作,快乐生活!

文章评论