Running mysql-proxy with cPanel remote mysql and proxy for localhost

Tweet Mysql-proxy is a neat tool that is badly needed to make remote MySQL server installations seem as if they were local (as in localhost). It is a convenience more than anything else. For example, if you are multi-tenant provider (a.k.a shared hosting provider), you would rather not ask your clients to set the db host to db.example.net instead of the widely used localhost.