在使用新版的mysql和php时,如果root设了密码,会出现这样的问题:
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
以下是关于这个问题的一些链接如下:
PHP bug 报告:http://bugs.php.net/bug.php?id=30586&edit=1
Mysql Bug 报告:http://dev.mysql.com/doc/mysql/en/Old_client.html
在以上报告里有很详细的关于这个情况的描述。
解决办法举例:
使用old_password.
更新PHP的mysql库[不过有人试过好象还没行通。]
使用更新版本的php,如:
http://snaps.php.net/win32/php5.0-win32-latest.zip