!
也想出现在这里? 联系我们
广告位
当前位置:首页>教程分享>服务器教程>云服务器MySQL 4.1+ using the old怎么解决?

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

Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old ...

有些程序在安装时,出现如下错误:

云服务器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。输入以下两条命令,然后执行即可。

  1.  
  2. SET SESSION old_passwords = FALSE;
  3. SET PASSWORD = PASSWORD(\'your password\');

给TA打赏
共{{data.count}}人
人已打赏
服务器教程

如何在Ubuntu上将网络切换回/etc/network/interfaces

2021-4-17 18:32:38

服务器教程

Ubuntu中解除root远程登录的方法

2021-4-17 18:32:40

声明 本站上的部份代码及教程来源于互联网,仅供网友学习交流,若您喜欢本文可附上原文链接随意转载。无意侵害您的权益,请发送邮件至 [email protected] 或点击右侧 私信:吉吉国王 反馈,我们将尽快处理。
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
OneEase