<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>运达&#039;s  blog &#187; navicta</title>
	<atom:link href="https://www.yunda51.com/?feed=rss2&#038;tag=navicta" rel="self" type="application/rss+xml" />
	<link>https://www.yunda51.com</link>
	<description>运达的博客</description>
	<lastBuildDate>Wed, 12 Nov 2025 07:58:26 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.19</generator>
	<item>
		<title>Navicat远程连接虚拟机Mysql的时候报错mysql 1130的解决方法</title>
		<link>https://www.yunda51.com/?p=1642</link>
		<comments>https://www.yunda51.com/?p=1642#comments</comments>
		<pubDate>Tue, 01 Sep 2015 07:06:43 +0000</pubDate>
		<dc:creator><![CDATA[运达]]></dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[liunx]]></category>
		<category><![CDATA[navicta]]></category>

		<guid isPermaLink="false">http://www.yunda51.com/?p=1642</guid>
		<description><![CDATA[闲来无事，在自己笔记本上安装了虚拟机并且配置了nginx+php+mysql，这些东西都已顺利搭建，唯一的一点<a href="https://www.yunda51.com/?p=1642" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>闲来无事，在自己笔记本上安装了虚拟机并且配置了nginx+php+mysql，这些东西都已顺利搭建，唯一的一点就见表的时候不方便，所以用navicta工具连接自己虚拟机的mysql，结果出现了如下问题：<strong>ERROR 1130: Host '192.168.116.128' is not allowed to connect to this MySQL server（不允许连接到MySQL服务器，也就是没有给用户授权）</strong></p>
<p>经过研究找到了解决方法：</p>
<p>1、首先给用户授权，</p>
<p>我用的用户是root 密码123456</p>
<p>然后进入到mysql里面：mysql -uroot -p123456</p>
<p>进入之后，首选语法为:<br />
Sql代码 ：<br />
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;</p>
<p>执行代码。如图：</p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2015/09/nav6.png"><img class="alignnone size-full wp-image-1645" src="http://www.yunda51.com/wp-content/uploads/2015/09/nav6.png" alt="nav6" width="834" height="76" /></a></p>
<p>示例: Sql代码<br />
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;</p>
<p>执行完后,再<br />
flush privileges;</p>
<p>如图：<a href="http://www.yunda51.com/wp-content/uploads/2015/09/push6.png"><img class="alignnone size-full wp-image-1646" src="http://www.yunda51.com/wp-content/uploads/2015/09/push6.png" alt="push6" width="371" height="64" /></a></p>
<p>&nbsp;</p>
<p>刷新一下权限就可以了,不用重启。</p>
<p>现在你在用navicta工具连接你虚拟机的mysql已经ok了！</p>
<p>转载请注明转自:<a href="http://www.yunda51.com">运达's blog</a> 原文地址：<a href="http://www.yunda51.com/1470.html">http://www.yunda51.com/1642.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.yunda51.com/?feed=rss2&#038;p=1642</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
