这几天接触了负载均衡,在大部分工作都完成后,启动
于是只能借助万能的百度了,根据百度搜索到的解释是因为:,而在caching_sha2_password,那接下来要做的就是更改
管理员连接mysql
alter user 'root'@'localhost' identified with
刷新权限,重启mysql
执行flush privileges;重启
参考文章:《https://blog.csdn.net/lc11535/article/details/99195568?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&dist_request_id=&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control》
但可能会出现另一种错误:Access denied for user ‘root’@’localhost’ (using password: NO),该问题解决可见文章《https://cesii.cn/426.html》
评论列表