<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MySQL on 小凡的博客</title><link>https://www.rvp.cc/tags/mysql/</link><description>Recent content in MySQL on 小凡的博客</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 30 May 2023 10:29:18 +0800</lastBuildDate><atom:link href="https://www.rvp.cc/tags/mysql/index.xml" rel="self" type="application/rss+xml"/><item><title>MySQL8无法使用root账户在外部登录的解决办法</title><link>https://www.rvp.cc/posts/mysql8-root-remote-login/</link><pubDate>Tue, 30 May 2023 10:29:18 +0800</pubDate><guid>https://www.rvp.cc/posts/mysql8-root-remote-login/</guid><description>&lt;p&gt;新安装的最新版本MySQL，可以在服务器终端登录root账户，但是外部始终登录不上，报连接拒绝错误&lt;/p&gt;&#10;&lt;div class="code-block-wrap"&gt;&#10; &lt;div class="code-toolbar"&gt;&#10; &lt;span class="code-language" aria-hidden="true"&gt;&lt;/span&gt;&#10; &lt;button class="code-copy" type="button" aria-label="复制代码" title="复制代码" data-code-copy hidden&gt;&#10; &lt;span class="code-copy-icon" aria-hidden="true"&gt;&#10; &lt;svg class="copy-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" focusable="false"&gt;&lt;rect x="8" y="8" width="12" height="12" rx="2"/&gt;&lt;path d="M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2"/&gt;&lt;/svg&gt;&#10; &lt;svg class="check-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false"&gt;&lt;path d="m20 6-11 11-5-5"/&gt;&lt;/svg&gt;&#10; &lt;/span&gt;&#10; &lt;span data-copy-label&gt;复制&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;pre class="code-block" tabindex="0"&gt;&lt;code&gt;mysqli::real_connect(): (hy000/1698): access denied for user &amp;#39;root&amp;#39;@&amp;#39;localhost&amp;#39;&lt;/code&gt;&lt;/pre&gt;&#10; &lt;/div&gt;</description></item></channel></rss>