anyone know how to install MySQL Modules for Perl

stndn

Golden Member
Mar 10, 2001
1,886
0
0
Is it for windows or *nix?
if it's *nix, you can download the modules from cpan

if it's windows, you can get it from activestate ppm archive

after that, you can run ppm locally with the repository pointing to your local computer
 

kevman

Diamond Member
Apr 20, 2001
3,548
1
81
Originally posted by: stndn
Is it for windows or *nix?
if it's *nix, you can download the modules from cpan

if it's windows, you can get it from activestate ppm archive

after that, you can run ppm locally with the repository pointing to your local computer


have syntax for the ppm ?
 

UCJefe

Senior member
Jan 27, 2000
302
0
0
ppm install module

Otherwise download the tar-gzipped file from CPAN, unzip it and if it's a Perl modules only, you can just copy them into your Perl/site/lib directory. Else you will need to compile them:

perl Makefile.pl
nmake
nmake test
nmake install

Note these are general instructions, I haven't looked at what format the mysql packages come in. Obviously, using ppm is your best bet.

Oh, and I just searched and found this link so see if that helps: Link[
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Windows:

ppm
install DBI
Install DBD::mysql

Unix:

perl -MCPAN -eshell
install DBI
Install DBD::mysql