Re: mysqlnd problems
| From: | Pierre Joye | Date: | Mon, 30 Mar 2009 10:40:45 +0000 |
| Subject: | Re: mysqlnd problems | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43540@lists.php.net to get a copy of this message | ||
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
>
>
--
Pierre
http://blog.thepimp.net | http://www.libgd.org