<?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"
	>
<channel>
	<title>Comments on: Enabling/Disabling query log without server restart in MySQL 5.0</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/</link>
	<description>Everything about MySQL Performance</description>
	<pubDate>Tue, 02 Dec 2008 19:28:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-337507</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Wed, 30 Jul 2008 16:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-337507</guid>
		<description>You can't turn on/off slow query log globally in MySQL 5.0 (though you can use trick described)</description>
		<content:encoded><![CDATA[<p>You can&#8217;t turn on/off slow query log globally in MySQL 5.0 (though you can use trick described)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jk</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-336863</link>
		<dc:creator>jk</dc:creator>
		<pubDate>Tue, 29 Jul 2008 18:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-336863</guid>
		<description>allow me to follow up on this post:
So does mysql 5.0.X  not allow dynamically switching general query at all?</description>
		<content:encoded><![CDATA[<p>allow me to follow up on this post:<br />
So does mysql 5.0.X  not allow dynamically switching general query at all?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-326767</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Sat, 12 Jul 2008 00:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-326767</guid>
		<description>Bill,

It was my impression this allows to disable logging statements for this session only, while I'm speaking about global log.</description>
		<content:encoded><![CDATA[<p>Bill,</p>
<p>It was my impression this allows to disable logging statements for this session only, while I&#8217;m speaking about global log.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bill</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-326758</link>
		<dc:creator>bill</dc:creator>
		<pubDate>Sat, 12 Jul 2008 00:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-326758</guid>
		<description>set sql_log_off = 'ON'; 
turns of the log without restarting

set sql_log_off = 'OFF'; 
turns it back on

this works on 5.0, anyway</description>
		<content:encoded><![CDATA[<p>set sql_log_off = &#8216;ON&#8217;;<br />
turns of the log without restarting</p>
<p>set sql_log_off = &#8216;OFF&#8217;;<br />
turns it back on</p>
<p>this works on 5.0, anyway</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eike Herzbach</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-168588</link>
		<dc:creator>Eike Herzbach</dc:creator>
		<pubDate>Sun, 16 Sep 2007 13:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-168588</guid>
		<description>Just tried out the query sniffer, it works great and is dead simple to use:

apt-get install libpcap0.8 (if needed)
curl http://iank.org/querysniffer/querysniffer-0.10.tar.gz &#124; tar xvzf -
querysniffer-0.10/mysqlsniff.x64

I like this unobtrusive way of debugging!

Cheers,
Eike</description>
		<content:encoded><![CDATA[<p>Just tried out the query sniffer, it works great and is dead simple to use:</p>
<p>apt-get install libpcap0.8 (if needed)<br />
curl <a href="http://iank.org/querysniffer/querysniffer-0.10.tar.gz" rel="nofollow">http://iank.org/querysniffer/querysniffer-0.10.tar.gz</a> | tar xvzf -<br />
querysniffer-0.10/mysqlsniff.x64</p>
<p>I like this unobtrusive way of debugging!</p>
<p>Cheers,<br />
Eike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167524</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Fri, 14 Sep 2007 10:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167524</guid>
		<description>Thanks Keith,

Indeed query sniffer is another good way to approach the same problem.</description>
		<content:encoded><![CDATA[<p>Thanks Keith,</p>
<p>Indeed query sniffer is another good way to approach the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Murphy</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167212</link>
		<dc:creator>Keith Murphy</dc:creator>
		<pubDate>Thu, 13 Sep 2007 21:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167212</guid>
		<description>It seems that great minds think alike.  I wasn't aware of your patch.  And the proxy hadn't been released when we started working on our query sniffer program. The sniffer is a bit different in that is a perl program that uses the libpcap library.  It can be started and stopped at any time and you can direct output to a file without any problems.</description>
		<content:encoded><![CDATA[<p>It seems that great minds think alike.  I wasn&#8217;t aware of your patch.  And the proxy hadn&#8217;t been released when we started working on our query sniffer program. The sniffer is a bit different in that is a perl program that uses the libpcap library.  It can be started and stopped at any time and you can direct output to a file without any problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167191</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 13 Sep 2007 18:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167191</guid>
		<description>Thanks Giuseppe,

This is indeed other good way.</description>
		<content:encoded><![CDATA[<p>Thanks Giuseppe,</p>
<p>This is indeed other good way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giuseppe Maxia</title>
		<link>http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167152</link>
		<dc:creator>Giuseppe Maxia</dc:creator>
		<pubDate>Thu, 13 Sep 2007 16:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/2007/09/13/enablingdisabling-query-log-without-server-restart-in-mysql-50/#comment-167152</guid>
		<description>Hi,
As an alternative, you can enable a log on-the fly, in any version from 4.1 to 6.0, using MySQL Proxy with an appropriate script. http://forge.mysql.com/snippets/view.php?id=81
To reroute the traffic without need of disconnecting the clients, you can use a IPTABLES command
http://forge.mysql.com/snippets/view.php?id=82
Cheers

Giuseppe</description>
		<content:encoded><![CDATA[<p>Hi,<br />
As an alternative, you can enable a log on-the fly, in any version from 4.1 to 6.0, using MySQL Proxy with an appropriate script. <a href="http://forge.mysql.com/snippets/view.php?id=81" rel="nofollow">http://forge.mysql.com/snippets/view.php?id=81</a><br />
To reroute the traffic without need of disconnecting the clients, you can use a IPTABLES command<br />
<a href="http://forge.mysql.com/snippets/view.php?id=82" rel="nofollow">http://forge.mysql.com/snippets/view.php?id=82</a><br />
Cheers</p>
<p>Giuseppe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
