Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Undefined subroutine &DBD::mysql::db::_login

Undefined subroutine &DBD::mysql::db::_login

2006-12-14       - By bijayant kumar

 Back
Reply:     1     2  

Hi to all,
           I am in very big problem, please help me. My dev-db/mysql has
upgraded from dev-db/mysql-4 (See http://sql-4.ora-code.com).1.21 to dev-db/mysql-5 (See http://sql-5.ora-code.com).0.26-r1. Because of this, i
am getting this error : -

Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/vendor
_perl/5.8.7/i686-linux/DBD/mysql.pm line 129.\n

-> Previously after upgrading i was getting the error like

[Thu Dec 14 12:41:35 2006] [error] [client 192.168.99.183] install_driver(mysql
) failed: Can't load '/usr/lib/perl5/vendor_perl/5.8.7/i686-linux/auto/DBD/mysql
/mysql.so' for module DBD::mysql: libmysqlclient.so.14: cannot open shared
object file: No
such file or directory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line
230.\n at (eval 200) line 3\nCompilation failed
in require at (eval 200) line 3.\nPerhaps a required shared library or dll isn
't installed where expected\n at /usr/lib/perl5/vendor_perl/5.8.8/DBIx
/SearchBuilder/Handle.pm line 106\n

-> In order to removing this error, i have once again compiled DBD::mysql
module. But it was giving me error although it is not compiled yet. I did some
workaround after reading some archives msgs and the README file provided with
DBD::mysql module. My workaround was something like that
 
 mkdir /tmp/mysql-static
 cp /usr/lib/mysql/*.a /tmp/mysql-static
 perl Makefile.PL --libs="-L/tmp/mysql-static -lmysqlclient"
 make
 make test
 make install
 rm -rf /tmp/mysql-static

-> After doing all these stuff, now i am getting the error above mentioned like

[Thu Dec 14 16:17:05 2006] [error] [client 192.168.99.183] Undefined subroutine
&DBD::mysql::db::_login called at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux
/DBD/mysql.pm line 129.\n

Now, i dont know how to tackle this. Please Please help me. I have read all the
archives till date, but didnt find any solution.


Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com