Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

mysql DBD/DBI problem

mysql DBD/DBI problem

mysql DBD/DBI problem

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.

[error] [client IP Address goes here] Premature end of scri
pt headers: /home/httpd/cgi-bin/botw.pl
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql
in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.0050
3 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at
(eval 1) line 3
Perhaps a module that DBD::mysql requires hasn't been fully installed
at /home/httpd/cgi-bin/botw.pl line 6

I have installed both the RPM and the source release and continue to have problems. Any ideas are welcome.


RE: mysql DBD/DBI problem

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.
The following RPMS are installed:
MySQL 3.22.25-1
MySQL client 3.22.25-1
MySQL devel 3.22.25-1
MySQL-DBI-perl-bin 1.1825-4


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close