[EMAIL PROTECTED] wrote:

t/10dsnlist........DBI connect('database=test','root',...) failed: Can't connect to 
local MySQL server through socket '/tmp/mysql.sock' (2) at t/10dsnlist.t line 45
Cannot connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(2)

This is almost definitely a configuration problem. My guess is, that you are using binaries mixed from various sources or something similar. For example, it might be, that your mysql server is listening on /var/lib/mysql.sock, but the C client library is listening on /tmp/mysql.sock.

A simple solution is using a soft link. A better solution is recompiling the
C client library with proper path definitions and then recompiling DBD::mysql.


Jochen





Reply via email to