1. 程式人生 > >1251-client does not support authentication protocol requested by server;consider upgrading Mysql

1251-client does not support authentication protocol requested by server;consider upgrading Mysql

一、問題描述,如下圖:

 

 二、 分析問題

  

 三、解決步驟

  1. 點選左下角,開啟命令列視窗command line client
  2.  alter user 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你想設定的密碼';
  3.  FLUSH PRIVILEGES;
  4. 重新連線就可以了。

如下圖:

 

 

navicat 連線 mysql 出現1251Client does not support authentication protocol requested by server的解決方案