<?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>mysqld_safe &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/mysqld_safe/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 21 Nov 2017 06:03:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>How to reset MySQL root Password in Ubuntu</title>
		<link>https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/</link>
					<comments>https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Tue, 11 Aug 2015 17:15:29 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[MySQL Command]]></category>
		<category><![CDATA[MySQL Database Administrator]]></category>
		<category><![CDATA[MySQL Database Designing]]></category>
		<category><![CDATA[MySQL Database Programming]]></category>
		<category><![CDATA[MySQL Error]]></category>
		<category><![CDATA[MySQL Performance Tunning]]></category>
		<category><![CDATA[MySQL Query]]></category>
		<category><![CDATA[MySQL Tips and Tricks]]></category>
		<category><![CDATA[mysqld_safe]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=344</guid>

					<description><![CDATA[Hello Friends, Recently, I got a request for resetting the MySQL root password. One of my colleges tried many solutions from different blog and website, but he failed and the question came to me. As I am always ready for new research and problem solving, so I started my work to reset the MySQL root [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&amp;linkname=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2015%2F08%2Freset-mysql-root-password-ubuntu%2F&#038;title=How%20to%20reset%20MySQL%20root%20Password%20in%20Ubuntu" data-a2a-url="https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/" data-a2a-title="How to reset MySQL root Password in Ubuntu"></a></p><p>Hello Friends,</p>
<p>Recently, I got a request for resetting the MySQL root password. </p>
<p>One of my colleges tried many solutions from different blog and website, but he failed and the question came to me.</p>
<p>As I am always ready for new research and problem solving, so I started my work to reset the MySQL root password.</p>
<p>On the internet, you can find many similar solutions and I have also tired from these solutions, but I was failed to reset root/admin password.</p>
<p>After some exercise, I got success on this.</p>
<p><strong>Below are the final steps:</strong></p>
<p><strong>Step 1:</strong><br />
Stop MySQL Service.</p><pre class="crayon-plain-tag">sudo stop mysql</pre><p>
<p><strong>Step 2:</strong><br />
Kill all running mysqld.</p><pre class="crayon-plain-tag">sudo killall -9 mysqld</pre><p>
<p><strong>Step 3:</strong><br />
Starting mysqld in Safe mode.</p><pre class="crayon-plain-tag">sudo mysqld_safe --skip-grant-tables --skip-networking &amp;</pre><p>
<p><strong>Step 4:</strong><br />
Start mysql client</p><pre class="crayon-plain-tag">mysql -u root</pre><p>
<p><strong>Step 5:</strong><br />
After successful login, please execute this command to change any password.<br />
<a href="https://www.dbrnd.com/2015/05/mysql-flush-command/" target="_blank">Here you can visit more about MySQL Flush Command:</a></p>
<pre class="crayon-plain-tag">FLUSH PRIVILEGES;</pre>
<p><strong>Step 6:</strong><br />
You can update mysql root password .<br />
<pre class="crayon-plain-tag">UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';</pre>
<p><strong>Step 7:</strong><br />
Please execute this command.<br />
<pre class="crayon-plain-tag">FLUSH PRIVILEGES;</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2015/08/reset-mysql-root-password-ubuntu/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
