I used to run a mysql server on a box where clients would connect to localhost (/var/lib/mysql/mysql.sock), but have subsequently moved the MySQL server to dedicated hardware.
To date, I have successfully been able to use both socat and mysql-proxy to make /var/lib/mysql/mysql.sock forward to the remote server, but I wonder what other options are availble, ideally something that can implement caching would be desirable. I played around with ProxySQL but realised that wasn't for me, as it would need a list of all users. As mysql-proxy was only ever declared alpha I'd like to use something else.