in reply to Can't locate DBD/Mysql.pm in @INC
Can't locate DBD/Mysql.pm in @INCIt seems like you use Mysql instead of mysql somewhere in your perltest.pl code (notice the uppercase "M"). Can you show us a relevant snippet of your perltest.pl file?
DBD::mysql shows code like:
That does not give me the error you get. But, if I change it to:use DBI; my $dbh = DBI->connect('DBI:mysql:database=foo');
I do get the error you get.use DBI; my $dbh = DBI->connect('DBI:Mysql:database=foo');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't locate DBD/Mysql.pm in @INC
by davido (Cardinal) on Jun 13, 2011 at 20:18 UTC |