Subject: | Can't connect to database: dbi:mysql:test |
The test suite fails on most systems, see http://matrix.cpantesters.org/?dist=Persistent-MySQL+0.50
On my systems it fails like this:
...
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/usr/perl5.28.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't connect to database: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
------------------------------------------------------------
Make sure that the LOGIN file contains the correct information
to connect to your database.
------------------------------------------------------------
t/00pre.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
...
Additionally, it seems that Persistent::DBI and DBD::mysql needs to be declared as prerequisites.