<?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>MySQL Archives - ubuntu|dog</title>
	<atom:link href="https://ubuntudog.com/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>https://ubuntudog.com/category/mysql/</link>
	<description>Knowledge is power</description>
	<lastBuildDate>Fri, 20 Dec 2024 22:24:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://media.ubuntudog.com/2019/11/cropped-favicon-32x32.png</url>
	<title>MySQL Archives - ubuntu|dog</title>
	<link>https://ubuntudog.com/category/mysql/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MySQL &#8211; Create new user and GRANT access to the database</title>
		<link>https://ubuntudog.com/mysql-create-new-user-and-grant-access-to-the-database/</link>
		
		<dc:creator><![CDATA[dean]]></dc:creator>
		<pubDate>Sun, 24 Nov 2019 20:59:52 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<guid isPermaLink="false">http://ubuntudog.com/?p=175</guid>

					<description><![CDATA[<p>GRANT access to the database of a particular user At command line issue: mysql -u root -p Now create &#8220;myuser&#8221; user and password. Give rights/privileges to that user on database &#8220;mydatabase&#8221;. Last but not least, run flush command to reload all the privileges. 1. CREATE USER &#8216;myuser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;mypassword&#8217;; 2. GRANT ALL PRIVILEGES ON ... <a title="MySQL &#8211; Create new user and GRANT access to the database" class="read-more" href="https://ubuntudog.com/mysql-create-new-user-and-grant-access-to-the-database/" aria-label="Read more about MySQL &#8211; Create new user and GRANT access to the database">Read more</a></p>
<p>The post <a href="https://ubuntudog.com/mysql-create-new-user-and-grant-access-to-the-database/">MySQL &#8211; Create new user and GRANT access to the database</a> appeared first on <a href="https://ubuntudog.com">ubuntu|dog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>GRANT access to the database of a particular user At command line issue:</p>
<p class="code_header">
<blockquote>
<div class="code">mysql -u root -p</div>
</blockquote>
<p>Now create &#8220;myuser&#8221; user and password. Give rights/privileges to that user on database &#8220;mydatabase&#8221;.</p>
<p>Last but not least, run flush command to reload all the privileges.</p>
<p>1. CREATE USER &#8216;myuser&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;mypassword&#8217;;</p>
<div class="code">2. GRANT ALL PRIVILEGES ON mydatabase . * TO &#8216;myuser&#8217;@&#8217;localhost&#8217;;</p>
</div>
<div class="code">3. FLUSH PRIVILEGES;</div>
<p>The post <a href="https://ubuntudog.com/mysql-create-new-user-and-grant-access-to-the-database/">MySQL &#8211; Create new user and GRANT access to the database</a> appeared first on <a href="https://ubuntudog.com">ubuntu|dog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
