note 47901 deleted from function.mysql-connect by bjori
| From: | bjori@php.net | Date: | Sat, 15 Apr 2006 18:31:29 +0000 |
| Subject: | note 47901 deleted from function.mysql-connect by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108179@lists.php.net to get a copy of this message | ||
Note Submitter: omikorn at yahoo dot com
----
maybe you have seen this (using PHP 4.3.9 and MySQL client/server 4.1)
Error w/ php: mysql_connect(): Client does not support authentication protocol
Solution:
mysql -u root-p
SET PASSWORD FOR user@localhost = OLD_PASSWORD('password');
It is clearly that this is a bug in PHP's mysql module, perhaps it will be upgraded in the next
version
Resource: http://forums.mysql.com/read.php?11,6400,6701#msg-6701