有些数据库链接的时候会报这样的错
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
解决方案:
本文介绍了当尝试连接MySQL 4.1+版本时遇到的一个常见错误:由于使用了不安全的老式身份验证方式而导致的连接失败问题。文章提供了详细的解决步骤,包括如何通过管理员工具重置密码以及必要的配置文件调整。
1413

被折叠的 条评论
为什么被折叠?



