Php-mysql-query-history is a project mainly written in ..., it's free.
Add a function to the mysql extension for PHP that returns the queries you have made and their time of execution
404: Not Found