R
Ramesh
Hi,
I installed mysql on my windows xp machine. I am able to go to mysql
prompt and execute database commands. Howerver when I use DBI/
DBD::mysql to connect to the database I see my perl crashing. I am
running the perl script on the same machine where mysql is installed.
I am using perl 5.6.1 and DBD-mysql version 2.9.004. Mysql version is
5.0.27.
Can someone please give me some suggestions on how to fix this?
use DBI;
use Data:umper;
my @availabledrivers = DBI->available_drivers;
print Dumper @availabledrivers;
print "Before connect\n";
$dbh = DBI->connect("DBI:mysql:database=test", 'xxx', 'xxx');
Thanks.
-Ramesh.
I installed mysql on my windows xp machine. I am able to go to mysql
prompt and execute database commands. Howerver when I use DBI/
DBD::mysql to connect to the database I see my perl crashing. I am
running the perl script on the same machine where mysql is installed.
I am using perl 5.6.1 and DBD-mysql version 2.9.004. Mysql version is
5.0.27.
Can someone please give me some suggestions on how to fix this?
use DBI;
use Data:umper;
my @availabledrivers = DBI->available_drivers;
print Dumper @availabledrivers;
print "Before connect\n";
$dbh = DBI->connect("DBI:mysql:database=test", 'xxx', 'xxx');
Thanks.
-Ramesh.