标题: 数据库连接错误mysqlnd cannot connect to MySQL 4.1+ [打印本页] 作者: 黄昏游子333 时间: 2017-3-13 10:48
已经在百度上找到原因了。
数据库密码位数问题,我联系主机商就帮我弄好了。作者: 如何可以重来 时间: 2017-3-13 10:48
数据库密码 加密方式有问题作者: 一人一花一凋零 时间: 2017-3-13 10:48 标题: 数据库连接错误mysqlnd cannot connect to MySQL 4.1+ 数据库连接错误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