Mysql – How to setup thesql server behind a proxy server

apache-2.2mod-proxyMySQLreverse-proxy

I am deploying a mysql server behind a proxy server (apache mod_proxy). I am getting this error when I try to connect using mysql client

Lost connection to MySQL server at 'reading initial communication packet', system error: 0

I tried both commenting and puting 0.0.0.0 in mysql my.cnf noting is worked.

Best Answer

My comment above seems confirmed by your post on server fault You cannot use the apache mod_proxy to "proxy" a mysql server.