<?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: My Two Cents on MySQL Password Security</title>
	<atom:link href="http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Craig Sylvester</title>
		<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/#comment-362327</link>
		<dc:creator>Craig Sylvester</dc:creator>
		<pubDate>Wed, 10 Jun 2009 15:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2730#comment-362327</guid>
		<description>Hi Gerry,

Good tip. However, you need to include the &quot;PASSWORD&quot; keyword in step 3:

CREATE USER &#039;name&#039;@&#039;host&#039; IDENTIFIED BY PASSWORD &#039;*&#039;

/Craig</description>
		<content:encoded><![CDATA[<p>Hi Gerry,</p>
<p>Good tip. However, you need to include the &#8220;PASSWORD&#8221; keyword in step 3:</p>
<p>CREATE USER &#8216;name&#8217;@'host&#8217; IDENTIFIED BY PASSWORD &#8216;*&#8217;</p>
<p>/Craig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerry</title>
		<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/#comment-362180</link>
		<dc:creator>Gerry</dc:creator>
		<pubDate>Mon, 08 Jun 2009 17:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2730#comment-362180</guid>
		<description>PASSWORD() works, as long as you keep using it on the private server before re-using the hash value. I like SHOW GRANTS because it already shows you the whole GRANT command line which I can copy &amp; paste ... call my lazy.</description>
		<content:encoded><![CDATA[<p>PASSWORD() works, as long as you keep using it on the private server before re-using the hash value. I like SHOW GRANTS because it already shows you the whole GRANT command line which I can copy &amp; paste &#8230; call my lazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Bradford</title>
		<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/#comment-362177</link>
		<dc:creator>Ronald Bradford</dc:creator>
		<pubDate>Mon, 08 Jun 2009 16:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2730#comment-362177</guid>
		<description>That&#039;s a good tip.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mac</title>
		<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/#comment-362001</link>
		<dc:creator>Mac</dc:creator>
		<pubDate>Fri, 05 Jun 2009 22:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2730#comment-362001</guid>
		<description>I think I usually use Tom&#039;s method (ie PASSWORD() function), but it&#039;s always good to know alternatives. Thanks for the info.


-Mac</description>
		<content:encoded><![CDATA[<p>I think I usually use Tom&#8217;s method (ie PASSWORD() function), but it&#8217;s always good to know alternatives. Thanks for the info.</p>
<p>-Mac</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Krouper</title>
		<link>http://www.pythian.com/news/2730/my-two-cents-on-mysql-password-security/#comment-361996</link>
		<dc:creator>Tom Krouper</dc:creator>
		<pubDate>Fri, 05 Jun 2009 21:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2730#comment-361996</guid>
		<description>Another option would be to just

SELECT PASSWORD(&#039;xxxxxx&#039;);

The result will give you the hashed password. If you wanted to go crazy you could do something like...

SELECT CONCAT(&quot;CREATE USER &#039;name&#039;@&#039;host&#039; IDENTIFIED BY &#039;&quot;,password(&#039;xxxxx&#039;),&quot;&#039;;&quot;);

And copy the whole line.</description>
		<content:encoded><![CDATA[<p>Another option would be to just</p>
<p>SELECT PASSWORD(&#8216;xxxxxx&#8217;);</p>
<p>The result will give you the hashed password. If you wanted to go crazy you could do something like&#8230;</p>
<p>SELECT CONCAT(&#8220;CREATE USER &#8216;name&#8217;@'host&#8217; IDENTIFIED BY &#8216;&#8221;,password(&#8216;xxxxx&#8217;),&#8221;&#8216;;&#8221;);</p>
<p>And copy the whole line.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

