升级到PHP5.5,mysqlnd报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

升级到PHP5.5,mysqlnd报错

exinnet 2016-01-20 06:50:19 2185

报错信息如下:
Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2000] 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.cn

php升级mysqlnd phpmysqlnd报错 升级mysqlnd报错 升级mysqlnd mysqlnd报错
分享到
取消 提交回答
全部回答(1)
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

相似问题
最新问题