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