Navicat連接Mysql報錯:Client does not support authentication protocol requested by server;

上篇剛寫了安裝Mysql,想用Navicat去連接,然後就報錯了,此處記錄報錯解決。

  Navicat連接MySQL Server8.0版本時出現Client does not support authentication protocol requested  by server;解決如下:

命令如下:

1、use mysql;

2、alter user 'root'@'localhost' identified with mysql_native_password by '********';

3、flush privileges;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章