Re: mysqlnd problems

From: Date: Mon, 30 Mar 2009 10:45:57 +0000
Subject: Re: mysqlnd problems
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-43542@lists.php.net to get a copy of this message
Thanks Pierre, you've, most probably, saved me some hours of desperate searching. On 3/30/2009 13:40, Pierre Joye wrote:
hi, By the way, be sure to disable the old authentification method in your mysql config, centos forces it via a setting in my.cnf. You may also need to update your password. Cheers, On Mon, Mar 30, 2009 at 10:04 AM, Ulf Wendel<ulf.wendel@phpdoc.de> wrote:
Ionut G. Stan schrieb:
     
Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes
shorter than expected in {filename} on line 18 Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in {filename} on line 18
       
This says everything. You cannot use old authentication with mysqlnd. Upgrade you server passwords to the more recent and more secure authentication method or recompile PHP with libmysql (MySQL Client Library) support. Check ./configure --help | grep -C3 mysql and http://www.php.net/manual/en/mysql.installation.php . Ulf -- http://blog.ulf-wendel.de Artikel zu den Sun MySQL-Connectoren für PHP, C++ und OpenOffice.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
     
-- Ionut G. Stan I'm under construction | http://igstan.blogspot.com/

« previous php.internals (#43542) next »