环境用的是apache+mysql+zend studio (为什么没有eclipse,昨天弄了半天没弄好!),
回到正题,用zend studio 加载公司的项目(php),恩 还好 加载进来了,
然后在浏览器里面试试index.php跑得起来不就出问题了,浏览器显示:
Error: Database connection failed.It is possible that the database is overloaded or otherwise not running properly.The site administrator should also check that the database details have been correctly specified in config.php查看了apache的错误文档,果然有错:

[Mon Oct 10 16:00:56 2011] [error] [client 127.0.0.1] ADODB Error: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file
各位大大能帮帮小弟么 ,以前是.net的  现在搞这种自己配环境的真的是焦头烂额啊 弄了2天了, 都还没成功
小弟感激不尽!!!
没什么分 全都给了!

解决方案 »

  1.   

    mysqlnd ADODB错误:无法连接到MySQL 4.1 +使用旧的不安全认证。请使用一个管理工具来重置你的密码与命令SET PASSWORD = PASSWORD('your_existing_password')。这将储存一个新的、更安全,在mysql.user哈希值。如果这个用户是用于其他PHP脚本执行5.2或更早的时候你可能需要拆卸old-passwords旗帜从你的my.cnf文件
    机器翻译的哈 能看懂就好了。简单一点把你的MYSQL 升级到最新的5.X版本
      

  2.   

    另外直接用PHP 的mysqli 或者mysql 来连接吧...