虚拟主机域名注册-常见问题服务器知识 → 服务器问题

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.jyhost.com\***\***.php

  这个问题主要就是因为数据库的登陆密码编码问题,将密码设置成41位,即可。

  进入phpmyadmin,点击SQL。输入以下两条命令,然后执行即可。

  SET SESSION old_passwords = FALSE;

  SET PASSWORD = PASSWORD('your password');

  复制代码

  your password 替换为你自己的密码。




免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:bkook@qq.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。
【 双击滚屏 】 【 推荐朋友 】 【 收藏 】 【 打印 】 【 关闭 】 【 字体: 】 
上一篇:激活系统错误代码0x8007007B解决方法
下一篇:如何通过搜索引擎优化与网站推广,增加销售额
  >> 相关文章
没有相关文章。
0

在线
客服

在线客服服务时间:9:00-18:00

客服
热线

19899115815
7*24小时客服服务热线

关注
微信

关注官方微信
顶部