tags:

views:

53

answers:

1

I found the following code on mysql forge site.

MySQL Proxy : An easy way to log all warnings and errors into a MySQL table.

http://forge.mysql.com/tools/tool.php?id=133

This may sound too basic, but from where do I start if I need this functionality.

A: 

Here you have more details about MySQL proxy scripting.

What you need to do with the script you linked is just run it on MySQL database and it will do all the magic for you. It's a complete server side solution so you don't have to worry about logging errors in your client application. MySQL will automatically run read_query function for every row returned and read_query_result for every set returned.

RaYell