PHP MySQL client - disable socket connection on localhost Hello community, is it possible to disable socket connection on localhost and to use a port connection instead in the PHP mysql settings? Or can I recompile the PHP mysql.so module without default socket connection on localhost? In the old configuration I took the mysql server and apache on one machine. Now I want to split it, but a lot of my customers use localhost for the MySQL connection and I don't want to change the "default settings" for them. Is there a workaround or has someone an idea? I would appreciate it. Best regards drieschel
I haven't tried this, but maybe you can do this with MySQL Proxy: http://forge.mysql.com/wiki/MySQL_Proxy