I have tried getting my Perl 5.8.9 installation configured for Mysql. I have used cpan and PPM to get mysqlPP, DBD::mysql-simple modules.

I am trying this on Windows XP with Mysql 5.

Here is my latest error:
C:\>perl c:\perl\test.pl
DBD::mysql initialisation failed: Can't locate object method "driver" via package "DBD::mysql" at C:/Perl/lib/DBI.pm line 787.

Perhaps the capitalisation of DBD 'mysql' isn't right. at c:\perl\test.pl line 12

I have tried all caps and all lower caps.

I am a total n00b, and have been all over the web trying to figure this out. Any help would be greatly appreciated.


9 Years
Discussion Span
Last Post by KevinADC

It appears that you need to install DBD::mysql

I have tried to install DBD::mysql, but when I run my script, it doesn't find it. I have used cpan and ppm. Do I need to move it after it has been installed?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.