in reply to How to install Mysql drivers for Perl?

At present, there is not a DBD::mysql module compatible with ActivePerl 5.10 on Windows. I checked all the repositories I could, tried compiling it myself, and nothing worked. (This was yesterday, September 30, 2008.)

I installed ActivePerl 5.8.8 instead and have a much easier time finding and installing compatible modules. You can download ActivePerl 5.88 from ActiveState. I was then able to install the DBD::mysql module using the following instructions from its CPAN module page:

Instructions
As of this writing, DBD::mysql is missing in the ActivePerl 5.8.0 repository. However, Randy Kobes has kindly donated an own distribution and the following might succeed:

ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd
Hope this helps!
  • Comment on Re: How to install Mysql drivers for Perl?

Replies are listed 'Best First'.
Re^2: How to install Mysql drivers for Perl?
by Anonymous Monk on Oct 01, 2008 at 18:40 UTC
      Thank you so much for providing the solution. It help me a lot. Thank you.
Re^2: How to install Mysql drivers for Perl?
by sanjay nayak (Sexton) on Oct 03, 2008 at 07:19 UTC

    Hi

    Thanks a lot for your suggestion. The DBD::mysql has installed fine. Now i can connect perl with mysql without any error.

    Regd's
    Sanjay
      You can simply download xampp which include perl package in it. From the perl package, it has mysql module already installed for you. xampp will also install mysql server, so you will be good to go with communicating mysql database with perl.