LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2007, 01:09 PM   #1
vihanh2007
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
Smile How to fix error install_driver(mySQL) failed?


Hello!

I am taking over a system which has
MySQL in redhat 9.0
Apache-DBI-1.06.tar.gz
DBD-mysql-4.004
Perl 5.004

and trying to get a web application to access the Mysql db.
All command line and mysql utilities work fine. Perl itself
works fine.

But.......

when attempting to connect in the perl code it gives the following error
during the

dbh$->connect("DBI:mysql:$mydb",.....

-----------
install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/
i386-fr eebsd/auto/DBD/mysql/mysql.so' for module DBD::mysql: Undefined s
ymbol "___sstderr" in perl:/usr/local/lib/perl5/site_perl/i386-freebsd/au
to/DBD/mysql/mysql.so
at /usr/local/lib/perl5/i386-freebsd/5.004/DynaLoader.pm line 155.

at (eval 1) line 2

at test.cgi line 36
-----------
You can resolving step by step?
 
Old 05-18-2007, 02:25 PM   #2
krizzz
Member
 
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200

Rep: Reputation: 30
It seems your DBD::mysql Perl module is missing or broken. Try upgrading it with CPAN.

Code:
perl -MCPAN -e "shell"
cpan> install DBD::mysql
If you haven't used CPAN before, it will prompt you for some initial configuration options, so read and answer them carefully.
 
  


Reply

Tags
help



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error connect to server at 'localhost' failed pete44904 Linux - Server 10 11-23-2012 06:08 AM
KDE Error "Conversation with su failed" SuSE 10.2 Fix jdmcdaniel3 SUSE / openSUSE 4 05-24-2007 06:20 AM
Bugzilla: install_driver(mysql) failed FC4 PhilHalf Linux - Software 0 12-28-2005 03:07 PM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 09:02 AM
mysql failed: dbi error chadi Linux - General 1 10-30-2004 10:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration