problem with old and new password types in MySQL

From dev.mysql.com/doc/mysql/en/old-client.html:”Note: In PHP, the mysql extension does not support the new 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 MySQL 4.1 or newer, you will need to follow one of the options discussed above for configuring MySQL to work with old clients. The mysqli extension (stands for “MySQL, Improved”; new 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 newer MySQL client library for PHP. For more information about the mysqli extension, see http://php.net/mysqli.”

Discussion about same problem as it occurs with CocoaMySQL (Mac client):
http://sourceforge.net/forum/forum.php?thread_id=1250715&forum_id=183518

Plus advice from the developer of CocoaMySQL:
http://sourceforge.net/forum/forum.php?thread_id=1278283&forum_id=183518

Advertisements
This entry was posted in tech notes and tools. Bookmark the permalink.