mysql client does not support authentication

打开mysql 命令行

mysql> alter user 'root'@'localhost' identified with mysql_native_password by '123456';
Query OK, 0 rows affected (0.10 sec)


mysql> flush privileges;

Query OK, 0 rows affected (0.01 sec)

 

然后连接成功。

posted @   破碎s  阅读(143)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示