in reply to Re^2: perl uses wrong socket to connect to mysql
in thread perl uses wrong socket to connect to mysql

Or use DBI->connect() with the "mysql_socket" option. See the DBD::mysql manual.

  • Comment on Re^3: perl uses wrong socket to connect to mysql