Skip to content

mysq了修改加密方式

问题解决

出现 caching_sha2_password 不支持错误

有些客户端工具不支持此加密方式,可以改成 native 模式来连接

SELECT user, host, plugin from mysql.user;
alter user 'root'@'%' identified with mysql_native_password by '123456';

Comments