開啟 MySQL 設定檔 (my.cnf 或 my.ini),修改 default_authentication_plugin 欄位值為 mysql_native_password。
原先的設置
default_authentication_plugin=caching_sha2_password
修改後
default_authentication_plugin=mysql_native_password
之後將使用者的密碼驗證方式修改為 MySQL Native Password 就可以連線了 (MySQL Workbench 是顯示 Standard)。 |