Home : General : Databases and SQL :

General: Databases and SQL: Re: [Qlutzy] MySql... Again...: Edit Log

Here is the list of edits for this post
Re: [Qlutzy] MySql... Again...
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.

Last edited by:

Alex: Jun 8, 2002, 10:49 AM

Edit Log: