Tubba
11-21-02, 04:16 PM
Consider the following code, which used to work:
use DBI;
DBI->connect('DBI:mysql:dbname', 'user', 'pass');
but, alas, now does not. It dies with the following message:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any ideas what's going on, and what I would need to do to fix it?
use DBI;
DBI->connect('DBI:mysql:dbname', 'user', 'pass');
but, alas, now does not. It dies with the following message:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Any ideas what's going on, and what I would need to do to fix it?