在浏览了这里的多个线程以确定发生这种情况的原因后,我不知道WAMPservers MySQL是否被奇怪地配置为my.ini文件中的old_password=0等命令(显然WAMPserver不使用my.cnf如果有用的话,使用最新版本的WAMPserver、MySQL5.5、PHP5.3.10
编辑:在没有运气的情况下尝试了。我在屏幕上得到以下响应。SQLSTATE[HY000] [2000] mysqlnd cannot connect to MySQL 4.1+ using the old insecure authe