错误提示
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
解决方案:
1、首先在MySQL shell中连接数据库:\connect root@localhost
2、运行该指令: ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘这里输入你的数据库密码’;(使用该指令需要切换到sql模式:\sql)