note 47901 added to function.mysql-connect
| From: | omikorn at yahoo dot com | Date: | Sat, 04 Dec 2004 23:21:53 +0000 |
| Subject: | note 47901 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81367@lists.php.net to get a copy of this message | ||
maybe you have seen this
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
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47901
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47901&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47901&report=yes
Search -- http://master.php.net/manage/user-notes.php