Re: Perl mysql connection error
You said you're using the same Perl instance to connect. The version of Perl DBD::mysql you're using is probably still based on the MySQL 3.23 client. This client does not support the new password authentication used in MySQL 4.1.
The issue is documented here:
http://dev.mysql.com/doc/refman/4.1/en/old-client.html
There are two possible solutions:
(a) upgrade the MySQL client used by your Perl app to use a 4.1 client, or
(b) run the MySQL 4.1 server with the "old_passwords" option in its my.cnf (or my.ini) configuration file.
Regards,
Bill K.
Subject
Written By
Posted
Re: Perl mysql connection error
June 23, 2006 10:10AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.