I'm trying to use Perl DBI to connect to MySQL, and getting some really
nasty errors:
SV = RV(0x1a45c) at 0xc4a04
REFCNT = 1
FLAGS = (ROK)
RV = 0xc4998
SV = RV(0x1a45c) at 0xdfbfd9a0
REFCNT = 1
FLAGS = (ROK,READONLY)
RV = 0xc4998
DBD::mysql initialisation failed: dbih_setup_attrib(DBI::dr=HASH(0xc4998)):
FetchHashKeyName not set and no parent supplied at
/usr/local/libdata/perl5/site_perl/i386-openbsd/DBI.pm line 696.
(in cleanup) dbih_getcom handle DBI::dr=HASH(0xc4998) is not a DBI
handle (has no magic) at
/usr/local/libdata/perl5/site_perl/i386-openbsd/DBI.pm line 520.
(in cleanup) dbih_getcom handle DBI::dr=HASH(0xc4998) is not a DBI
handle (has no magic) at
/usr/local/libdata/perl5/site_perl/i386-openbsd/DBI.pm line 521.
at ./get_stallwall.pl line 5
Here are the details of my situation:
* MySQL 3.23.37
* Perl 5.6.0
* Originally installed DBI 1.15; ran 'make uninstall', and then installed
DBI 1.20
* OpenBSD 2.9
Any ideas what I might to do correct this?
Alex Kirk
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php