错误代码: client does not support authentication
解决办法:
1 使用命令行进入数据库
2 选着数据库 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
这样就可以连接了
错误代码: client does not support authentication
解决办法:
1 使用命令行进入数据库
2 选着数据库 mysql --> user mysql
3 alter user 'root'@'localhost' identified with mysql_native_password by '123456';
4 flush privileges;
这样就可以连接了