Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by serv
使用vscode连接数据库时出现以下错误原因是MySQL密码加密问题。解决步骤:1、连接数据库mysql -u root -p;2、输入原来的密码3、使用数据库use database1 (其中database1为数据库名)4、更改密码的加密类型alter user 'root'@'localhost' identified with mysql_native_password by '123456';(其中''123456"为新的密码)...


