<?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 Query Profiler</title>
	<atom:link href="http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/#comment-17843</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Fri, 19 Feb 2010 02:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=249#comment-17843</guid>
		<description>Updated to point to maatkit.org.</description>
		<content:encoded><![CDATA[<p>Updated to point to maatkit.org.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marian</title>
		<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/#comment-17835</link>
		<dc:creator>Marian</dc:creator>
		<pubDate>Wed, 17 Feb 2010 15:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=249#comment-17835</guid>
		<description>The &quot;Download MySQL Query Profiler&quot;  link is broken!</description>
		<content:encoded><![CDATA[<p>The &#8220;Download MySQL Query Profiler&#8221;  link is broken!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/#comment-2798</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Tue, 12 Dec 2006 14:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=249#comment-2798</guid>
		<description>&lt;p&gt;I think you should be seeing&lt;/p&gt;

&lt;p&gt;&lt;code&gt;connect(&#039;database=[DATABASE];host=localhost;port=3306&#039;,&#039;[USER]&#039;,...)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Instead of [DATABASE].  If that&#039;s not the trouble, then I&#039;m suspicious of problems with old-style passwords in your MySQL account.  Sometimes certain software can connect to an account with an old-style password and other software can&#039;t.  There is a section in the MySQL Manual on that.  Even though you&#039;d think the error would be something like &quot;Client does not support authentication protocol requested,&quot; I have seen cases where Perl programs fail with what looks like a wrong-password error instead.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I think you should be seeing</p>
<p><code>connect('database=[DATABASE];host=localhost;port=3306','[USER]',...)</code></p>
<p>Instead of [DATABASE].  If that&#8217;s not the trouble, then I&#8217;m suspicious of problems with old-style passwords in your MySQL account.  Sometimes certain software can connect to an account with an old-style password and other software can&#8217;t.  There is a section in the MySQL Manual on that.  Even though you&#8217;d think the error would be something like &#8220;Client does not support authentication protocol requested,&#8221; I have seen cases where Perl programs fail with what looks like a wrong-password error instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erick</title>
		<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/#comment-2783</link>
		<dc:creator>Erick</dc:creator>
		<pubDate>Tue, 12 Dec 2006 00:18:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=249#comment-2783</guid>
		<description>&lt;p&gt;Thanks. Downloaded that tool and installed it. Now it won&#039;t recognize my password.  Here&#039;s what I am trying at the command prompt:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mysql-query-profiler --user [USER] -d [DATABASE] --pass [CORRECTPASS] --verbosity 3 queries.sql&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But this is what I keep seeing:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;DBI connect(&#039;database=[DATABASE];host=localhost;port=3306&#039;,&#039;[DATABASE]&#039;,...) failed: Access denied for user &#039;[USER]&#039;@&#039;localhost&#039; (using password: YES) at /usr/bin/mysql-query-profiler line 168&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Is there any special way I need to give this tool the password? I am specifying it with &quot;--pass&quot; as the perldoc suggests?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thanks. Downloaded that tool and installed it. Now it won&#8217;t recognize my password.  Here&#8217;s what I am trying at the command prompt:</p>
<p><code>mysql-query-profiler --user [USER] -d [DATABASE] --pass [CORRECTPASS] --verbosity 3 queries.sql</code></p>
<p>But this is what I keep seeing:</p>
<p><code>DBI connect('database=[DATABASE];host=localhost;port=3306','[DATABASE]',...) failed: Access denied for user '[USER]'@'localhost' (using password: YES) at /usr/bin/mysql-query-profiler line 168</code></p>
<p>Is there any special way I need to give this tool the password? I am specifying it with &#8220;&#8211;pass&#8221; as the perldoc suggests?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: camka</title>
		<link>http://www.xaprb.com/blog/2006/10/18/mysql-query-profiler/#comment-2275</link>
		<dc:creator>camka</dc:creator>
		<pubDate>Tue, 24 Oct 2006 11:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=249#comment-2275</guid>
		<description>&lt;p&gt;Another useful tool to be mentioned is &lt;a href=&quot;http://sourceforge.net/projects/myprofi&quot; title=&quot;MyProfi&quot;&gt;MyProfi&lt;/a&gt; that takes mysql query log and outputs the most frequently executed queries removing variable data from them, so one may easily analyze the most popular queries and start optimizing them.&lt;/p&gt;

&lt;p&gt;Output Sample:&lt;/p&gt;

&lt;pre&gt;100 select id, name from user where email={}
94  select password from user where name={}
11  update user set name={}, password={} where id={}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Another useful tool to be mentioned is <a href="http://sourceforge.net/projects/myprofi" title="MyProfi">MyProfi</a> that takes mysql query log and outputs the most frequently executed queries removing variable data from them, so one may easily analyze the most popular queries and start optimizing them.</p>
<p>Output Sample:</p>
<pre>100 select id, name from user where email={}
94  select password from user where name={}
11  update user set name={}, password={} where id={}</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

