Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61510 invoked from network); 30 Mar 2009 10:40:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2009 10:40:49 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.220.172 mail-fx0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:59368] helo=mail-fx0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/75-14952-0B1A0D94 for ; Mon, 30 Mar 2009 05:40:48 -0500 Received: by fxm20 with SMTP id 20so1847048fxm.23 for ; Mon, 30 Mar 2009 03:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=R2ou/M0t6x82SYkjE/FG5J0zm5O3vZ/e/wMpiBwRVSw=; b=nUD2yuiWAWTJ88FYoNTe7lw6nkBYw+fIiUV4leeRoFGSJV1dbwCzK6ly98ENN/Hjh8 7YFChHQtzjTDGkJZVrUGA5XeZsdQ1ME9ttkoiz1U9tQEbN55EX1Z4Q0DDH+cgl3x41q9 4rBTdn0GokNjKlQVXUiSp8/+WHLtkCL1IR0vA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sQupVk9P+DlE+gAifCWgtwPkz+z0Jdndnua2YupWvRHdgWqV2Nc4jDvl7rnfwLbT9u hVarILZFMQIQLtaPijfmYRtL5pqyF9NJqu/Fnafk5FIEPHRxdrZ2Ylzcjn4wYCzZQbXg BIeAd6zlGtCyA5DTbkXno5j7DYWA+ux8NdVmI= MIME-Version: 1.0 Received: by 10.86.3.4 with SMTP id 4mr4088180fgc.41.1238409645104; Mon, 30 Mar 2009 03:40:45 -0700 (PDT) In-Reply-To: <49D07D1E.4020509@phpdoc.de> References: <49D07544.7060406@gmail.com> <49D07D1E.4020509@phpdoc.de> Date: Mon, 30 Mar 2009 12:40:45 +0200 Message-ID: To: Ulf Wendel Cc: "Ionut G. Stan" , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] mysqlnd problems From: pierre.php@gmail.com (Pierre Joye) 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 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 connec= t >> 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 Librar= y) > 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=FCr PHP, C++ und OpenOffice.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org