note 71703 added to function.mysql-connect
| From: | sky dot sama dot remove dot dots at Gmail dot com | Date: | Tue, 12 Dec 2006 16:42:01 +0000 |
| Subject: | note 71703 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120552@lists.php.net to get a copy of this message | ||
In case anyone else is getting "Client does not support authentication protocol requested by
server; consider upgrading MySQL client" error. The problem is the new password hashing method
used by MySQL >= 4.1 mentioned below.
Either update your PHP to v5 where the new password hashing is supported or use old_password() in
MySQL 4.1.
FROM: http://www.digitalpeer.com/id/mysql
UPDATE mysql.user SET password=old_password("youroldhashpassword") WHERE user
='youruserid' and host ='yourhost'
then do
FLUSH PRIVILEGES
----
Server IP: 216.194.113.175
Probable Submitter: 170.252.248.203
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit -- https://master.php.net/note/edit/71703
Del: integrated -- https://master.php.net/note/delete/71703/integrated
Del: useless -- https://master.php.net/note/delete/71703/useless
Del: bad code -- https://master.php.net/note/delete/71703/bad+code
Del: spam -- https://master.php.net/note/delete/71703/spam
Del: non-english -- https://master.php.net/note/delete/71703/non-english
Del: in docs -- https://master.php.net/note/delete/71703/in+docs
Del: other reasons-- https://master.php.net/note/delete/71703
Reject -- https://master.php.net/note/reject/71703
Search -- https://master.php.net/manage/user-notes.php