PHP Mysql Client - disable socket connection in localhost

Discussion in 'Server Operation' started by drieschel, Apr 14, 2010.

  1. drieschel

    drieschel New Member

    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
     
    Last edited: Apr 14, 2010
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page