Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql DBD/DBI problem

Status
Not open for further replies.

warmongr

MIS
Mar 17, 1999
214
0
0
US
I continue to get errors while trying to get mysql and DBD working together. I keep getting internal server errors and the following message in my errors.log file.<br>
<br>
[error] [client IP Address goes here] Premature end of scri<br>
pt headers: /home/httpd/cgi-bin/botw.pl<br>
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql<br>
in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.0050<br>
3 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at<br>
(eval 1) line 3<br>
Perhaps a module that DBD::mysql requires hasn't been fully installed<br>
at /home/httpd/cgi-bin/botw.pl line 6<br>
<br>
<br>
I have installed both the RPM and the source release and continue to have problems. Any ideas are welcome.<br>
<br>
war,,,
 
I unistalled all DBI and Mysql packages with the gnoRPM manager. I then reinstalled them and queried their paths. The RPM's installed in /usr/lib/perl5/site_perl/DBD or /DBI respectively however the @INC path does not contain these. Where is this @INC path set and will changing it make these modules work. Certainly there is someone using RH6.0 with MySql 3-22 and DBI-Perl.<br>
The following RPMS are installed:<br>
MySQL 3.22.25-1<br>
MySQL client 3.22.25-1<br>
MySQL devel 3.22.25-1 <br>
DBI-Perl-Bin<br>
MySQL-DBI-perl-bin 1.1825-4<br>
<br>
Thanks<br>
war...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top