首页> 实战笔录 >PHP开发笔记 >PHP PHP
php开发的网站上传到阿里云虚拟主机后访问时报错
作者:小萝卜 2019-04-17 【 PHP 】 浏览 1555
简介php开发的网站上传到阿里云服务器报错 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
php开发的网站上传到阿里云虚拟主机后无法访问,报错如下:
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
你的PHP程序应该是从MySQL 4.1之前的版本升到新版MySQL库了,按照提示更新密码即可。
我们登录万网控制平台,计入到数据库管理,点击重置密码,选择41位修改密码即可.然后网站就可以访问了
注意选择41位修改密码
然后访问网站就可以正常访问了
很赞哦! (0)
相关文章
- 怎么判断PHP属于nts还是ts版?
- PHP分别替换内容中的img标签src的值
- php自定义函数,实现下载远程图片保存到本地
- php-浏览器提示该网页无法正常运行-HTTP ERROR 500
- PHP怎么判断访问的设备是ios还是安卓?
- php判断当前操作系统是linux系统还是windows系统
- wamp环境下PHP如何安装redis扩展
- php获取网站运行了多长时间,服务器运行了多长时间,活动持续多长时间
- PHP网页调用迅雷下载文件
- Namespace declaration statement has to be the very first statement or after any declare call in the