1. 程式人生 > >Navicat連接Mysql報錯

Navicat連接Mysql報錯

post ted host then 需要 soft lte log nbsp

  上篇剛寫了安裝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;

解決如下:

技術分享圖片

技術分享圖片

Navicat連接Mysql報錯