SQLyog錯誤號碼 plugin caching_sha2_password could not be loaded 原因分析: MySQL新版默認(rèn)使用caching_sha2_password作為身份驗(yàn)證插件,而舊版是使用mysql_native_password 當(dāng)連接MySQL時報(bào)錯“plugin caching_sha2_password could not be loaded”時,可換回舊版插件。
用SQLyog連接MySQL8.0(社區(qū)版:mysql-installer-community-8.0.15.0.msi),出現(xiàn)錯誤2058(Plugin caching_sha2_password could not be loaded:xxxx),通過查詢資料了解了該錯誤的原因并在本文中提出了該問題的方案。 原因 該錯誤提示如下圖所示: 具體原因:新的MySQL 8.0安裝,在初始化數(shù)據(jù)目錄時,將‘root'@'localhost'...