Failure to install DBD via perl -MCPAN
I'm trying to install the DBD::mysql module. everything goes fine until
it tries to connect to the server. below is the error message:
t/10dsnlist.........DBI->connect failed: Can't connect to local MySQL
server through socket '/tmp/mysql.sock' (111) at t/10dsnlist.t line 45
Cannot connect: Can't connect to local MySQL server through socket
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:database=test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
Test returned status 10 (wstat 2560, 0xa00)
Undefined subroutine &Test::Harness::WCOREDUMP called at
/usr/lib/perl5/5.00503/Test/Harness.pm line 288.
make: *** [test_dynamic] Error 10
make: Leaving directory
make: *** [test] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
I can't seem to figure it out. My server is running, I can connect to
it with the user name I specify and the password also. I'm fairly
certain I don't have a problem with the permissions in mysql (I connect
I installed mysql via the source rpm. I am at a loss for what to do.
Any thoughts would be appreciated. Thanks in advance for any help.