开发者社区 问答 正文

我的php代码连接不上数据库,我的php代码连接不上数据库

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

展开
收起
1826677605883566 2018-08-20 11:59:36 813 分享 版权
1 条回答
写回答
取消 提交回答
还有其他疑问?
咨询AI助理