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.wen...@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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to