mysqlエラーエラーError:ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol reque...
848 ワード
mysqlエラー
解決策
暗号化ルールの変更は通常モード、デフォルトは厳格な暗号化モード mysqlコントロールパネルに入り、 を入力する.コントロールパネルに順次入力 暗号化規則 を修正する更新ユーザパスワード 更新権限 修正したパスワードを入力し、接続を再テストすればいいです.
参考:mysql 8.0バージョンエラー:Error:ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol...
Unhandled rejection Error: Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested b
y server; consider upgrading MySQL client
解決策
暗号化ルールの変更は通常モード、デフォルトは厳格な暗号化モード
mysql -uroot -p
を入力し、パスワードALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
FLUSH PRIVILEGES;
参考:mysql 8.0バージョンエラー:Error:ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol...