<?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>new account on mysql &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/new-account-on-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Wed, 24 Nov 2010 05:57:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>Create A MySQL User Account</title>
		<link>https://lifelinux.com/create-a-mysql-user-account/</link>
					<comments>https://lifelinux.com/create-a-mysql-user-account/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 24 Nov 2010 05:29:27 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[create mysql account]]></category>
		<category><![CDATA[create mysql user]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql command]]></category>
		<category><![CDATA[mysql database server]]></category>
		<category><![CDATA[mysql server]]></category>
		<category><![CDATA[new account on mysql]]></category>
		<category><![CDATA[user accounts on mysql]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=130</guid>

					<description><![CDATA[<p>The MySQL access control system enables you to create MySQL accounts and define what each account can do. The steps bellow to create a new user MySQL account. Step 1: Login MySQL as root mysql -u root -p Step 2: Using GRANT command to create new MySQL account mysql&#62; GRANT ALL ON &#60;database_name&#62;.* TO &#60;new_account&#62;@&#60;server&#62; [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/create-a-mysql-user-account/">Create A MySQL User Account</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>The <strong>MySQL</strong> access control system enables you to create MySQL accounts and define what each account can do. The steps bellow to create a new user MySQL account.<span id="more-130"></span></p>
<h2>Step 1: Login MySQL as root</h2>
<pre>mysql -u root -p
</pre>
<h2>Step 2: Using GRANT command to create new MySQL account</h2>
<pre>mysql&gt;   GRANT ALL ON &lt;database_name&gt;.* TO &lt;new_account&gt;@&lt;server&gt; IDENTIFIED BY '';
</pre>
<p><strong>Example</strong>: I have database called demo and i want to assign all privileges to new account called user1, i will type the following command:</p>
<pre>mysql&gt;   GRANT ALL ON demo.* TO user1@localhost IDENTIFIED BY 'mypassword';
</pre>
<p><strong>Note: </strong>GRANT ALL is means set all privileges to new account. But only on demo database and can&#8217;t access other database. Read more about <a href="http://dev.mysql.com/doc/refman/5.1/en/grant.html#grant-database-privileges" target="_blank">database privileges</a>.</p>
<h2>Step 3: Exit MySQL interface</h2>
<pre>mysql&gt;   exit;
</pre>
<h2>Step 4: Login MySQL with new Account</h2>
<pre>mysql -u &lt;new_account&gt; -p
</pre>
<p>Replace &lt;new_account&gt; by your new account created.</p>
<g:plusone href="https://lifelinux.com/create-a-mysql-user-account/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/create-a-mysql-user-account/">Create A MySQL User Account</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/create-a-mysql-user-account/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
