Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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).

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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