<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: MySQL Reset Root Password</title> <atom:link href="http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Camilo</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-49610</link> <dc:creator>Camilo</dc:creator> <pubDate>Sun, 19 Sep 2010 23:40:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-49610</guid> <description>I use Fedora 12 and It doesn&#039;t work for me.</description> <content:encoded><![CDATA[<p>I use Fedora 12 and It doesn&#8217;t work for me.</p> ]]></content:encoded> </item> <item><title>By: rizky</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41932</link> <dc:creator>rizky</dc:creator> <pubDate>Fri, 05 Jun 2009 22:50:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41932</guid> <description>whoa that&#039;s cool dude</description> <content:encoded><![CDATA[<p>whoa that&#8217;s cool dude</p> ]]></content:encoded> </item> <item><title>By: Antony Dick M.</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41731</link> <dc:creator>Antony Dick M.</dc:creator> <pubDate>Fri, 22 May 2009 07:21:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41731</guid> <description>When there is a crash in connecting the MySQL Database do the following procedures
To Stop:
etc/init.d/mysql stop
To Start:
etc/init.d/mysql start
To Restart:
etc/init.d/mysql restart
To Reset The Password:
/etc/init.d/mysql reset-password
To Make Your Database To Get Connected When You Are In A Network:
gedit /etc/mysql/my.cnf
//search for bind address and then
change bind address 0.0.0.0</description> <content:encoded><![CDATA[<p>When there is a crash in connecting the MySQL Database do the following procedures</p><p>To Stop:<br
/> etc/init.d/mysql stop</p><p>To Start:<br
/> etc/init.d/mysql start</p><p>To Restart:<br
/> etc/init.d/mysql restart</p><p>To Reset The Password:<br
/> /etc/init.d/mysql reset-password</p><p>To Make Your Database To Get Connected When You Are In A Network:<br
/> gedit /etc/mysql/my.cnf<br
/> //search for bind address and then<br
/> change bind address 0.0.0.0</p> ]]></content:encoded> </item> <item><title>By: V.Balaviswanathan</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41280</link> <dc:creator>V.Balaviswanathan</dc:creator> <pubDate>Tue, 21 Apr 2009 12:52:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41280</guid> <description>Thanks a lot  Vivek for the tip that you have provided :)</description> <content:encoded><![CDATA[<p>Thanks a lot  Vivek for the tip that you have provided :)</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41279</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Tue, 21 Apr 2009 12:44:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41279</guid> <description>@V.Balaviswanathan,
MySQL has root user too. Do not confuse it with system root user (to become root user Ubuntu enter sudo -s).
@ Frank,
/etc/init.d/mysql or /etc/init.d/mysqld depends upon your distro.</description> <content:encoded><![CDATA[<p>@V.Balaviswanathan,</p><p>MySQL has root user too. Do not confuse it with system root user (to become root user Ubuntu enter sudo -s).</p><p>@ Frank,<br
/> /etc/init.d/mysql or /etc/init.d/mysqld depends upon your distro.</p> ]]></content:encoded> </item> <item><title>By: V.Balaviswanathan</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41277</link> <dc:creator>V.Balaviswanathan</dc:creator> <pubDate>Tue, 21 Apr 2009 09:30:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41277</guid> <description>Thanks a lot   for the tips that you have provided and I would like to know the same for debian and Ubuntu systems as in Ubuntu there is no root login as such  right?</description> <content:encoded><![CDATA[<p>Thanks a lot   for the tips that you have provided and I would like to know the same for debian and Ubuntu systems as in Ubuntu there is no root login as such  right?</p> ]]></content:encoded> </item> <item><title>By: Frank Wang</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41267</link> <dc:creator>Frank Wang</dc:creator> <pubDate>Mon, 20 Apr 2009 14:07:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41267</guid> <description>Thanks, very nice instruction. A little typo at the end:
&quot;# /etc/init.d/mysql start&quot; should be &quot;# /etc/init.d/mysqld start&quot;</description> <content:encoded><![CDATA[<p>Thanks, very nice instruction. A little typo at the end:<br
/> &#8220;# /etc/init.d/mysql start&#8221; should be &#8220;# /etc/init.d/mysqld start&#8221;</p> ]]></content:encoded> </item> <item><title>By: GaQuay</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41219</link> <dc:creator>GaQuay</dc:creator> <pubDate>Thu, 16 Apr 2009 00:00:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41219</guid> <description>for gui, you can use webmin, it so easy for change password mysql :)</description> <content:encoded><![CDATA[<p>for gui, you can use webmin, it so easy for change password mysql :)</p> ]]></content:encoded> </item> <item><title>By: micman</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41152</link> <dc:creator>micman</dc:creator> <pubDate>Sat, 11 Apr 2009 14:59:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41152</guid> <description>thanks :)</description> <content:encoded><![CDATA[<p>thanks :)</p> ]]></content:encoded> </item> <item><title>By: dardo</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41086</link> <dc:creator>dardo</dc:creator> <pubDate>Mon, 06 Apr 2009 20:15:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41086</guid> <description>Excuse me for my bad English, I usually read it all time but rather speak or write it.
Thanks for share this method.
I install mySQL on my NSLU2 this weekend and with the Debian default install there are no root user, but the debconf ask it&#039;s password twice at install time.
I use the skip-grant-tables method, but i was thinking on more secure ways to do it because withe the skip-grant-tables any user potentially can take the control of your databases.</description> <content:encoded><![CDATA[<p>Excuse me for my bad English, I usually read it all time but rather speak or write it.</p><p>Thanks for share this method.</p><p>I install mySQL on my NSLU2 this weekend and with the Debian default install there are no root user, but the debconf ask it&#8217;s password twice at install time.</p><p>I use the skip-grant-tables method, but i was thinking on more secure ways to do it because withe the skip-grant-tables any user potentially can take the control of your databases.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41079</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Mon, 06 Apr 2009 17:04:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41079</guid> <description>mysqld –skip-grant-tables method is considered as insecure and in some case it may corrupt the data.
HTH</description> <content:encoded><![CDATA[<p>mysqld –skip-grant-tables method is considered as insecure and in some case it may corrupt the data.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Mihai Secasiu</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41078</link> <dc:creator>Mihai Secasiu</dc:creator> <pubDate>Mon, 06 Apr 2009 16:58:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41078</guid> <description>Or you could simply stop mysql then  start it without privilege checking like this:
mysqld --skip-grant-tables
connect to it as root, run that update query, then kill the server and start it normally</description> <content:encoded><![CDATA[<p>Or you could simply stop mysql then  start it without privilege checking like this:<br
/> mysqld &#8211;skip-grant-tables<br
/> connect to it as root, run that update query, then kill the server and start it normally</p> ]]></content:encoded> </item> <item><title>By: Raheem</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41076</link> <dc:creator>Raheem</dc:creator> <pubDate>Mon, 06 Apr 2009 16:35:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41076</guid> <description>Thank you ! Nice piece of info.
In fact, my colleague did the most stupid thing of his life yesterday by deleting all the users in the mysql table :(
I did get back everything by simply altering the commands in the above given example to insert a user called root, then granting permission to all databases, reset its password etc.</description> <content:encoded><![CDATA[<p>Thank you ! Nice piece of info.<br
/> In fact, my colleague did the most stupid thing of his life yesterday by deleting all the users in the mysql table :(<br
/> I did get back everything by simply altering the commands in the above given example to insert a user called root, then granting permission to all databases, reset its password etc.</p> ]]></content:encoded> </item> <item><title>By: yoander (sedlav)</title><link>http://www.cyberciti.biz/faq/mysql-reset-lost-root-password/#comment-41072</link> <dc:creator>yoander (sedlav)</dc:creator> <pubDate>Mon, 06 Apr 2009 13:39:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=3603#comment-41072</guid> <description>In RHEL / Fedora / CentOS Linux yun can type also &lt;b&gt;service mysqld stop&lt;/b&gt;</description> <content:encoded><![CDATA[<p>In RHEL / Fedora / CentOS Linux yun can type also <b>service mysqld stop</b></p> ]]></content:encoded> </item> </channel> </rss>
