mysql问题

qq_38412047 2017-12-28 11:29:00
求大神提供解决方法
错误提示如下
mysql connect error: 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

在网络搜索以下解决方法,没用:
SET old_passwords = 0;
UPDATE mysql.user SET PASSWORD = PASSWORD( 'www.aerchi.com' ) WHERE User = 'aerchi' LIMIT 1 ;
SELECT LENGTH( PASSWORD ) FROM mysql.user WHERE User = 'aerchi';
FLUSH PRIVILEGES ;
...全文
340 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
rucypli 2018-05-10
  • 打赏
  • 举报
回复
进mysql直接执行SET PASSWORD = PASSWORD('your_existing_password')
rucypli 2018-05-10
  • 打赏
  • 举报
回复
进mysql直接执行
Rotel-刘志东 2018-05-04
  • 打赏
  • 举报
回复
mysql版本是怎样的 5.6 和5.7是有区别的。 5.7 authentication_string()

56,679

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧