MySQL RefManual A.2.3
MySQL RefManual A.2.3
Downloads Documentation Forums Lists Bugs Events User Groups Guilds Blogs Support
MySQL 5.1 Reference Manual :: A Problems and Common Errors :: A.2 Common
Errors When Using MySQL Programs :: A.2.3 Client does not support authentication
protocol
Overview MySQL Reference Manual 3.23, 4.0, 4.1 5.0 5.1 MaxDB Documentation
Get the MySQL Language Reference Assign an old-format password to each account that has had its password updated to
the longer 4.1 format. You can identify these accounts with the following query:
and MySQL Administrator's Guide from
MySQL Press! mysql> SELECT Host, User, Password FROM mysql.user
-> WHERE LENGTH(Password) > 16;
Learn about new MySQL releases, For each account record displayed by the query, use the Host and User values and
assign a password using the OLD_PASSWORD() function and either SET PASSWORD
technical articles, events and more. or UPDATE, as described earlier.
Subscribe to the monthly MySQL Note: In older versions of PHP, the mysql extension does not support the
Newsletter! authentication protocol in MySQL 4.1.1 and higher. This is true regardless of
the PHP version being used. If you wish to use the mysql extension with
[email protected] MySQL 4.1 or newer, you may need to follow one of the options discussed
Subscribe above for configuring MySQL to work with old clients. The mysqli extension
(stands for "MySQL, Improved"; added in PHP 5) is compatible with the
improved password hashing employed in MySQL 4.1 and higher, and no
special configuration of MySQL need be done in order to use this MySQL
client library. For more information about the mysqli extension, see
http://php.net/mysqli.