dneedles has asked for the wisdom of the Perl Monks concerning the following question:

I cannot load DBD::mysql using the latest stable ActiveState PERL 5.8 or 5.10. It appears ppm cannot find the mysql module.

C:\Perl\bin>perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 12 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 824 [287188] provided by ActiveState http://www.ActiveSta +te.com Built Sep 3 2008 11:14:55 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\Perl\bin>ppm install DBI No missing packages to install C:\Perl\bin> ppm install DBD-mysql ppm install failed: Can't find any package that provides DBD-mysql C:\Perl\bin> ppm install DBD::mysql ppm install failed: Can't find any package that provides DBD::mysql
However, on a different box with build 819 the same commands worked:

C:\TEMP>perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 33 registered patches, see perl -V for more detail) Copyright 1987-2006, Larry Wall Binary build 819 [267479] provided by ActiveState http://www.ActiveSta +te.com Built Aug 29 2006 12:42:41 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. C:\TEMP>ppm install DBI Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Syncing site PPM database with .packlists...done No missing packages to install C:\TEMP>ppm install DBD-mysql Downloading ActiveState Package Repository packlist...not modified Downloading DBD-mysql-3.0002...done Unpacking DBD-mysql-3.0002...done Generating HTML for DBD-mysql-3.0002...done Installing to site area...done 14 files installed
Is this an issue with the build or with the environment? How can the problem be troubleshot?

Any ideas?

Replies are listed 'Best First'.
Re: Active State and Mysql
by Anonymous Monk on Oct 27, 2008 at 14:55 UTC
      To install: ppm install http://theoryx5.uwinnipeg.ca/ppms/DBD-mysql.ppd
Re: Active State and Mysql
by journey (Monk) on Oct 27, 2008 at 18:06 UTC
    You may read more here about the solutions proposed in the previous posts.

    I just remembered how I got mine working recently and found it by "SuperSearching" ActiveState DBD::mySQL

    Cheers!