Hi Monks
I noticed that when I tried to connect to a mysql server it was using the wrong socket, it returned an error like
DBI connect('mysql:localhost','root',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at ./db_init.pl line 10
I looked inside /etc/mysql/my.cnf and indead there was a different socket used.
So my question is: how come that perl doesn't know this, and how do I tell perl to use this other socket?