咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

错误信息: 与服务器 localhost 的连接失败,原因为:mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication.------如何解决

2016-06-08 23:39:19 12681次

错误信息如图:

blob.png

错误信息: 与服务器 localhost 的连接失败,原因为: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

解决方法:将php版本切换为5.2


首页
最新活动
个人中心