sqlyong连接mysql8.0时出现2058解决
用SQLyog连接MySQL8.0(社区版:mysql-installer-community-8.0.15.0.msi),出现错误2058(Plugin caching_sha2_password could not be loaded:xxxx),通过查询资料了解了该错误的原因并在本文中提出了该问题的方案。
以下解决方法
登录mysql
进入MySQL库
查询user host

执行语句

ALTER USER 'root' @ '%' IDENTIFIED WITH mysql_native_password BY '123456';
user值 host值 root的密码
连接成功


浙公网安备 33010602011771号