Hi,

I have mySQL 4.0 and Apache 2.0 with ActivePerl (Windows 200).
Apache executes Perl CGI but has trouble connecting to mysql through DBI.
I have following drivers installed in Perl:
DBI [1.14]
DBD-mysql [1.2212]
I get the following error when I try to execute test_dbi.pl. Any clues? Thanks. 
[Fri Nov 21 22:03:51 2003] [error] [client xxx] Premature end of script headers: 
test_dbi.pl
[Fri Nov 21 22:03:51 2003] [error] [client xxx] Can't locate object method "connect" 
via package "DBI" (perhaps you forgot to load "DBI"?) at C:/Program Files/Apache 
Group/Apache2/cgi-bin/test_dbi.pl line 13.



******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the 
intended recipient.  Any unauthorized review, use or distribution by others is 
strictly prohibited.  If you have received the message in error, please advise the 
sender by reply email [EMAIL PROTECTED], and delete the message. Thank you."
****************************************************************

Reply via email to