August 25th, 2000, 05:34 PM
I have installed Active perl on window 98, and I am trying to install DBI and MySql. Does anyone know where I can find those two things with easy to follow documentation for installation?
August 25th, 2000, 11:19 PM
use active perl's /perl/bin/ppm.pl to install DBI and DBD::mysql
and download the win32 binary of mysql at mysql.com
August 27th, 2000, 02:26 AM
Thank you. I downloaded everything and I was able to get MySql to run. Although, I have one more question. I was able to install DBI and DBD::MySql, but I wasn't able to call MySql from my PERL program. I have installed MySql in a C:mysql directory, and Perl with the DBI in another directory.
Do you know what I need to do to get them connected?
August 27th, 2000, 05:52 PM
yep, write some perl dbi code, start up the mysql daemon, run the script
August 30th, 2000, 05:20 PM
Try start with this code
$dbh = DBI->connect("DBI:mysql:yourdb",root,yourpasswordIfAny);
your user name should by default be root unless you changed it