首页> 实战笔录 >MySql MySql

阿里虚拟主机,MYSQL数据库连接问题: MySQL 4.1+ using the old insecure authentication

作者:小萝卜 2019-04-09 浏览 1626

简介使用万网提供的轻云服务器,连接MySQL数据库时提示如下信息:服务器[qdm-011.hichina.com]连接失败!错误代号: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

使用万网提供的轻云服务器,连接MySQL数据库时提示如下信息:服务器[qdm-011.hichina.com]连接失败!

错误代号: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.cnf file


解决办法: 登录主机管理控制台--》数据库信息--》重置密码--》机密模式选择41位
 

亲测有效!

 

很赞哦! (0)

文章评论

    高端网站建设