MySQLTunnel
HTTP tunnel to MySQL written in PHP. Returns JSON descriptive result.
...The script will utilize mysqli or mysql extensions, and mcrypt to perform decryption on the request and encryption on the result if needed.
You can also choose whether to expose its functionality upon calling the script with a Web Browser or not. The script is highly configurable, and maintains log files if needed.