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? |
It seems your DBD::mysql Perl module is missing or broken. Try upgrading it with CPAN.
Code:
perl -MCPAN -e "shell" |
All times are GMT -5. The time now is 12:47 AM. |