<?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>Tuts4Tech &#187; forgot</title>
	<atom:link href="http://tuts4tech.net/tag/forgot/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Resetting your mysql root password</title>
		<link>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/</link>
		<comments>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 22:33:40 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dump]]></category>
		<category><![CDATA[forgot]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[premissions]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=554</guid>
		<description><![CDATA[First of all we need to stop mysql Create a mysql table dump to reset the password Now we need to start mysql in safe mode and import the mysql table dump Finally we need to kill mysql and start it in normal mode Your password should now be reset to the one you specified [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>First of all we need to stop mysql
<pre class="brush: plain; title: ; notranslate">/etc/init.d/mysql stop</pre>
</li>
<p></p>
<li>Create a mysql table dump to reset the password
<pre class="brush: plain; title: ; notranslate">UPDATE mysql.user SET Password=PASSWORD('YOUR-NEW-MYSQL-PASSWORD') WHERE User='root';
FLUSH PRIVILEGES;</pre>
</li>
<p></p>
<li>Now we need to start mysql in safe mode and import the mysql table dump
<pre class="brush: plain; title: ; notranslate">mysqld_safe --init-file=/path/to/mysql/table/dump &amp;</pre>
</li>
<p></p>
<li>Finally we need to kill mysql and start it in normal mode
<pre class="brush: plain; title: ; notranslate">killall mysqld
/etc/init.d/mysql start</pre>
</li>
<p></p>
<li>Your password should now be reset to the one you specified in the mysql table dump</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/08/13/resetting-your-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

