I would like to setup a "pseudo-server" to intercept all the SQL queries made by my local application.

The reason for that is that I can't administer the Mysql server, and it's difficult for me to edit the configuration files to enable any logging. The easiest way would be to have a Sql "router" that would redirect all my queries to the original server, but log them for me to debug. That way I would only have to set the server URL to localhost (and configure the username).

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Check out http://forge.mysql.com/wiki/MySQL_Proxy

link|improve this answer
Perfect, a bit tricky to set up, but now it works! – Matthieu Jun 15 '11 at 8:06
1  
I also recommend using the following script: forge.mysql.com/tools/tool.php?id=80. – Matthieu Jun 15 '11 at 8:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.