DBD::mysql 2.9004 connect issues.
am 02.03.2005 19:00:20 von Peter LeonardHello,
I'm facing some extremely bizarre behavior on my SuSE 9.2 i586 box that
I'm completely stumped by. Hopefully someone can help.
Installed MySQL & all dependent packages via YAST (SuSE's package
management system).
Compiled & installed perl 5.8.6 manually (stupid SuSE threaded version).
Installed DBI no problem.
Installed DBD::mysql w/ no major issues - a few complaints in the tests,
but nothing that seemed bad.
When I try and connect to the DB, I get the following error:
peter@linux:~/dev/nextgen> ./test.pl
Had to create ::imp_data_size unexpectedly at
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux/DBI.pm line 1165.
Segmentation fault
test.pl as follows:
#!/usr/bin/perl
use strict;
use warnings;
use DBI;
my $dsn = "DBI:mysql:database=test";
# connect to the defined database
my $DBH = DBI->connect($dsn, 'root', '');
Help much apprciated!
thanks,
--pete
----
Peter Leonard
pete@peteleonard.com
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org