<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Innovative Thought &#187; Database</title>
	<atom:link href="http://innovativethought.net/category/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://innovativethought.net</link>
	<description>think. code. design. innovate.</description>
	<lastBuildDate>Fri, 13 Jan 2012 16:12:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='innovativethought.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Innovative Thought &#187; Database</title>
		<link>http://innovativethought.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://innovativethought.net/osd.xml" title="Innovative Thought" />
	<atom:link rel='hub' href='http://innovativethought.net/?pushpress=hub'/>
		<item>
		<title>Resetting Your Forgotten MySQL Password</title>
		<link>http://innovativethought.net/2007/05/17/resetting-your-forgotten-mysql-password/</link>
		<comments>http://innovativethought.net/2007/05/17/resetting-your-forgotten-mysql-password/#comments</comments>
		<pubDate>Fri, 18 May 2007 03:42:32 +0000</pubDate>
		<dc:creator>Tim Knight</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://innovativethought.wordpress.com/2007/05/17/resetting-your-forgotten-mysql-password/</guid>
		<description><![CDATA[A few weeks ago I ran into an issue where I found myself locked out of the MySQL server that runs locally on my Mac.  After some research and toying around I was able to reset the password.  So for those of you unaware of how this process works, I&#8217;m going to share it with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=innovativethought.net&amp;blog=965151&amp;post=22&amp;subd=innovativethought&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I ran into an issue where I found myself locked out of the MySQL server that runs locally on my Mac.  After some research and toying around I was able to reset the password.  So for those of you unaware of how this process works, I&#8217;m going to share it with you.  Now remember, this is done from my Mac, many of you that are running from an another system might find the solution to not be accurate for you.</p>
<p>Also, please be advised.  Use this method at your own risk.  You are a responsible human, if you don&#8217;t feel comfortable doing this procedure find someone to help you &#8211; I am not responsible for any lost of data or corruption on your system.</p>
<p><strong>Stopping MySQL</strong><br />
First stop the service.  You can either do this using the preference pane if you have that installed if you don&#8217;t you should be well aware of doing in from the terminal.</p>
<p><strong>Skipping Access Tables</strong><br />
Alright &#8211; so open up a Terminal window and execute:</p>
<p><code>/usr/local/mysql/bin/safe_mysqld --skip-grant-tables</code></p>
<p>For MySQL 5 Installations do &#8211; <em>(thanks to RY for pointing it out)</em>:<br />
<code>/usr/local/mysql/bin/mysqld_safe --skip-grant-tables</code></p>
<p><strong>Running the Reset</strong><br />
Ok &#8211; so you have safe_mysqld running in one Terminal window, now open up another one and execute &#8220;/usr/local/mysql/bin/mysql mysql&#8221; (no quotes).  If you aren&#8217;t familiar you are opening up the MySQL console and opening the mysql table.</p>
<p>Write the reset query into the console as follows:</p>
<p>UPDATE user SET Password=PASSWORD(&#8216;YOUR_PASSWORD&#8217;)<br />
WHERE Host=&#8217;localhost&#8217; AND User=&#8217;root&#8217;;</p>
<p>Replacing &#8220;YOUR_PASSWORD&#8221; with your desired password of course.  Once you&#8217;ve done that just exit the console &#8220;exit;&#8221; close the safe_mysqld execution and restart your MySQL server in normal mode.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/innovativethought.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/innovativethought.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/innovativethought.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/innovativethought.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/innovativethought.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=innovativethought.net&amp;blog=965151&amp;post=22&amp;subd=innovativethought&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://innovativethought.net/2007/05/17/resetting-your-forgotten-mysql-password/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2722012beb9afcad75df5c9f2229fd8c?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Tim Knight</media:title>
		</media:content>
	</item>
	</channel>
</rss>
