Many Windows MySQL tools like Navicat or EMS have this thing - You just put a PHP file on a shared hosting and can connect local running program to the remote MySQL server on the Web via the web service exposed by that php file.
Are there any good popular free solutions to expose full MySQL as a web service using PHP?
SQLyog's HTTP Tunnel is a very decent one.