<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[解决SQLyog连接mysql8.0时报错：错误号码2058]]></title><description><![CDATA[<div style="text-align:left"><span style="color:#222222"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:tahoma, arial, quot"><br />
</span></span></span></div><div style="text-align:left"><span style="color:#222222"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:tahoma, arial, quot">具体原因：新的MySQL 8.0安装，在初始化数据目录时，将 ‘root'@'localhost'创建帐户，并且该帐户caching_sha2_password默认使用，密码的加密方法发生了改变，因此SQLyog不能正常解析，才报出如上错误。</span></span></span></div><br />
<div style="text-align:left"><span style="color:#333333"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:quot"><strong>执行SQL修改语句</strong></span></span></span></div><div style="text-align:left"><span style="color:#333333"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:quot">      以管理员身份进入命令行窗口， 输入命令： mysql -u root -p  登录到你个人的 mysql 数据库，然后 执行一条SQL语句（复制粘贴即可）：</span></span></span></div><div style="text-align:left"><span style="color:#333333"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:quot">      ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';</span></span></span></div><div style="text-align:left"><span style="color:#333333"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:quot">      （上面的sql语句以英文 “;” 结束；</span></span></span></div><div style="text-align:left"><span style="color:#333333"><span style="background-color:rgb(255, 255, 255)"><span style="font-family:quot">      123465是笔者自己设置的root密码，你的需要更改为你自己的密码）</span></span></span></div><br />
<br />
如题：<br />
<a href="https://jingyan.baidu.com/article/7908e85cda0de1af481ad22c.html" target="_blank" rel="noopener nofollow">https://jingyan.baidu.com/article/7908e85cda0de1af481ad22c.html</a><br />]]></description><link>https://bbs.novotific.com/topic/24/解决sqlyog连接mysql8.0时报错-错误号码2058</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 21:34:34 GMT</lastBuildDate><atom:link href="https://bbs.novotific.com/topic/24.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 30 Aug 2020 02:41:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 解决SQLyog连接mysql8.0时报错：错误号码2058 on Sun, 30 Aug 2020 05:54:10 GMT]]></title><description><![CDATA[<p dir="auto">执行sql代码，修改了加密方式以后，记得重启Mysql服务，最好重启机器。</p>
]]></description><link>https://bbs.novotific.com/post/95</link><guid isPermaLink="true">https://bbs.novotific.com/post/95</guid><dc:creator><![CDATA[小诺]]></dc:creator><pubDate>Sun, 30 Aug 2020 05:54:10 GMT</pubDate></item><item><title><![CDATA[Reply to 解决SQLyog连接mysql8.0时报错：错误号码2058 on Sun, 30 Aug 2020 05:12:34 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://www.jb51.net/article/171721.htm" target="_blank" rel="noopener nofollow">https://www.jb51.net/article/171721.htm</a><br /></p>
]]></description><link>https://bbs.novotific.com/post/94</link><guid isPermaLink="true">https://bbs.novotific.com/post/94</guid><dc:creator><![CDATA[小诺]]></dc:creator><pubDate>Sun, 30 Aug 2020 05:12:34 GMT</pubDate></item></channel></rss>