Thanks. I have installed ActivePerl v5.8 and it worked. I was a problem with firewall, so I had to install both packages (DBI/DBD::mysql) manually through zip files.
-----Original Message----- From: Hardy Merrill [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 4:55 PM To: Dmitry Netis Cc: Subject: Re: DBI package installed but 'not loaded'? Dmitry Netis [EMAIL PROTECTED] wrote: > 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. Paste in your test_dbi.pl script if it's not too long - I'm pretty sure that someone here can help you by looking at your script. -- Hardy Merrill Red Hat, Inc. ******************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." ****************************************************************
