1. 程式人生 > >navicat 連線mysql8.0出現Client does not support authentication protocol 解決方法

navicat 連線mysql8.0出現Client does not support authentication protocol 解決方法

Client does not support authentication protocol :客戶端不支援認證協議

  1. 修改資料庫加密方式:

alter user ‘root’@‘localhost’ identified by ‘password’ password expire never;

  1. 修改密碼

alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘新密碼’;

  1. 重新整理許可權

flush privileges;