Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43535 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19822 invoked from network); 30 Mar 2009 08:04:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2009 08:04:47 -0000 Authentication-Results: pb1.pair.com header.from=ulf.wendel@phpdoc.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ulf.wendel@phpdoc.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phpdoc.de from 212.227.126.177 cause and error) X-PHP-List-Original-Sender: ulf.wendel@phpdoc.de X-Host-Fingerprint: 212.227.126.177 moutng.kundenserver.de Received: from [212.227.126.177] ([212.227.126.177:58399] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 53/BD-14952-D1D70D94 for ; Mon, 30 Mar 2009 03:04:46 -0500 Received: from [192.168.2.22] (p5B06F9B3.dip.t-dialin.net [91.6.249.179]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1LoCU61DIQ-0000NG; Mon, 30 Mar 2009 10:04:42 +0200 Message-ID: <49D07D1E.4020509@phpdoc.de> Date: Mon, 30 Mar 2009 10:04:46 +0200 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Ionut G. Stan" CC: 'PHP Internals' References: <49D07544.7060406@gmail.com> In-Reply-To: <49D07544.7060406@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V01U2FsdGVkX18ev1M+vTSFR8OG/M7dLGoAUx4QRXwNYIhIO01 FH5CjuUwz+BLqiUS33wPOXx/kDg49ODaIIHoq42DFor4LF4PPI rb7MBiU+b+4ihfn2vh7ng== Subject: Re: [PHP-DEV] mysqlnd problems From: ulf.wendel@phpdoc.de (Ulf Wendel) 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