美图齐众专注资阳网站设计 资阳网站制作 资阳网站建设
资阳网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

MySQL4.1+usingtheold怎么解决?

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

创新互联建站于2013年成立,先为临川等服务建站,临川等地企业,进行企业商务咨询服务。为临川企业网站制作PC+手机+微官网三网同步一站式服务解决您的所有建站问题。

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

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. SET SESSION old_passwords = FALSE;
  2. SET PASSWORD = PASSWORD('your password');

复制代码

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


标题名称:MySQL4.1+usingtheold怎么解决?
转载注明:http://zsjierui.cn/article/dpoiojc.html

其他资讯