<?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>linuxbuddies.com &#187; remote mysql</title>
	<atom:link href="http://linuxbuddies.com/tag/remote-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxbuddies.com</link>
	<description>For linux documentations.</description>
	<lastBuildDate>Fri, 11 Sep 2009 10:11:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Grant privileges to Local &amp; Remote MySQL Users</title>
		<link>http://linuxbuddies.com/2008/12/21/grant-privileges-to-local-remote-mysql-users/</link>
		<comments>http://linuxbuddies.com/2008/12/21/grant-privileges-to-local-remote-mysql-users/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 07:19:45 +0000</pubDate>
		<dc:creator>Riyesh</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[grant privileges]]></category>
		<category><![CDATA[local mysql]]></category>
		<category><![CDATA[remote mysql]]></category>

		<guid isPermaLink="false">http://linuxbuddies.com/?p=328</guid>
		<description><![CDATA[
 
Login to mysql shell and key in :


For Local users
 
mysql&#62; grant all on database.* to username@’localhost’ identified by ’password’;
mysql&#62; flush privileges;
 
Verify the connection by executing the command from bash prompt: 
 
mysql -u username -p databasename
 
For remote users :
 
mysql&#62; grant all on database.* to username@’%’ identified by ’password’;
mysql&#62; flush privileges;
 
Verify the connection ...]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-329" title="mysql1" src="http://linuxbuddies.com/wp-content/uploads/2009/01/mysql1-150x150.jpg" alt="mysql1" width="150" height="150" /></p>
<p> </p>
<p><strong>Login to mysql shell and key in :</strong></p>
<p><strong><br />
</strong></p>
<p><strong>For Local users</strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;">mysql&gt; grant all on database.* to username@’localhost’ identified by ’password’;<br />
mysql&gt; flush privileges;</span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong>Verify the connection by executing the command from bash prompt: </strong></span></strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">mysql -u username -p databasename</span></strong></span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong>For remote users :</strong></span></strong></span></strong></p>
<p> </p>
<p style="padding-left: 30px; "><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;"><strong><span style="font-weight: normal;">mysql&gt; grant all on database.* to username@’%’ identified by ’password’;<br />
mysql&gt; flush privileges;</span></strong></span></strong></span></strong></p>
<p style="padding-left: 30px; "> </p>
<p><strong>Verify the connection by executing the command from bash prompt. </strong></p>
<p style="padding-left: 30px; "> </p>
<p style="padding-left: 30px; ">mysql -u username -p -h hostname databasename</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxbuddies.com/2008/12/21/grant-privileges-to-local-remote-mysql-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
