タイムズのNode.jsのmysql8.0バージョンのミスに関連して、
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
复制代码
窓の下にCMDウィンドウを開きます。
- 入力
mysql -h locahost -u root -p
コマンドを - パスワードを入力します。
- エントリー
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '新密码';
ます。https://juejin.im/post/5cf2948cf265da1ba25246ecで再現