[CDBI] Two MySQL tests failed during Class::DBI installation; how I fixed 'em

Todd W trwww at sbcglobal.net
Wed Jan 24 02:32:09 GMT 2007

From: "Dave Baker" <davebaker at benefitslink.com>

> When I used the CPAN to install Class::DBI 3.0.16, several tests
> involving MySQL failed...
> Because I want to use MySQL with Class::DBI, I wanted to be sure
> those tests would succeed...
> using a text editor, I changed ... MyBase.pm:
> to say this instead:
> my @connect = ("dbi:mysql:test", "root", "yabbadabbado");
> After saving the changes to that file... Success!

Thats fine. There are also environment variables that you can set so you 
dont have to modify the test files.

Todd W.

More information about the ClassDBI mailing list