Hi,
Use `ppm`. It's Activestates package manager. You'll need to type from command prompt (may need to cd \perl\bin):
ppm install DBI
and also:
ppm install DBD-mysql
and might as well put on:
ppm install Digest-MD5
ppm install MIME-Base64
as they are very useful. Once that's installed, try a test script:
use DBI;
my $dbh = DBI->connect('DBI:mysql:DATABASENAME:localhost', 'USERNAME', 'PASSWORD', { RaiseError => 1 });
print "Connected!\n";
$dbh->disconnect;
and you should be good to go!
Cheers,
Alex
--
Gossamer Threads Inc.
Use `ppm`. It's Activestates package manager. You'll need to type from command prompt (may need to cd \perl\bin):
ppm install DBI
and also:
ppm install DBD-mysql
and might as well put on:
ppm install Digest-MD5
ppm install MIME-Base64
as they are very useful. Once that's installed, try a test script:
use DBI;
my $dbh = DBI->connect('DBI:mysql:DATABASENAME:localhost', 'USERNAME', 'PASSWORD', { RaiseError => 1 });
print "Connected!\n";
$dbh->disconnect;
and you should be good to go!
Cheers,
Alex
--
Gossamer Threads Inc.