mysql localhost via tcp

I'm trying to get mysql connections bound for localhost to go via tcp rather than via /tmp/mysql.sock. Any ideas how to get this to happen?

(Reason is I've got rinetd redirecting 127.0.0.1 mysql traffic to a remote server so that I can keep localhost as the connection host in php. 1000's of sites using it so not easy to change to 127.0.0.1 etc)

 

 

 

 

Top