快捷导航

云服务器MySQL 4.1+ using the old怎么解决?

[复制链接]
查看: 138|回复: 0
发表于 2023-6-29 15:32:59 | 显示全部楼层 |阅读模式
Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old ...有些程序在安装时,出现如下错误:Warning: mysql_connect(): 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 in K:\WEB_2013\www.aerchi.com\***\***.php这个问题主要就是因为数据库的登陆密码编码问题,将密码设置成41位,即可。进入phpmyadmin,点击SQL。输入以下两条命令,然后执行即可。 SET SESSION old_passwords = FALSE;SET PASSWORD = PASSWORD('your password');复制代码your password 替换为你自己的密码。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

精彩推荐

尚云驿站

  • 投诉建议:350467567@qq.com
  • 软文投稿:350467567@qq.com
  • 友情链接:350467567@qq.com

云服务支持

精彩文章,快速检索

Copyright 尚云驿站  Powered by©  技术支持:飛    ( 闽ICP备2025116718号-15 )