php连接不上mysql 报错如下

问:Deprecated: mysql_connect(): The mysql is and will be in the future: use or PDO in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 4 Warning: mysql_connect(): cannot to MySQL 4.1 using the old authentication. use an tool to reset your with the SET = PASSWORD('your_existing_password'). This will store a new, and more , hash value in mysql.user. If this user is used in other executed by PHP 5.2 or you might need to the old-password=demo.cnf file in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 4 Deprecated: mysql_query(): The mysql is and will be in the future: use or PDO in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 6 Warning: mysql_query(): denied for user ''@'' (using ) in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 6 Warning: mysql_query(): A link to the could not be in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 6 Could not connect: denied for user ''@'' (using ),php连接不上mysql 报错如下

答:您好,您的数据库还是连接的是阿里云的数据库 ,详见附图方框处,需要改为我司的数据库连接信息 ,

问:虚拟主机升级到服务器,原备案信息、域名解析失效

答:您好,
升级到云服务器以后不影响备案的,现在不能访问是您解析还在虚拟主机上
请到域名管理修改解析指向主机IP 127.0.0.1 生效后再访问测试,非常感谢您对我司的支持!

问:别名要不要修改?

问:

答:您好,www的解析也需要修改解析到云服务器IP 127.0.0.1,请您核实修改下,非常感谢您长期对我司的支持!

问:Deprecated: mysql_connect(): The mysql is and will be in the future: use or PDO in /home/hongruntjvh4onntgwruudnkthj/www/public/testDb.php on line 4

答:您好,核实数据库状态正常,我司手机微信访问提示没权限访问,已经帮您调整php版本,请重新试试,如还不正常,请问具体是如何测试,请详细说明,以便我司分析,非常感谢您长期对我司的支持.由此给您带来的不便之处,敬请原谅!谢谢!

西部数码(west.cn)是经工信部、ICANN、CNNIC认证审批,持有ISP、云牌照、IDC、CDN、顶级域名注册商等全业务资质的正规老牌服务商,自成立至今20余年专注于域名注册、虚拟主机、云服务器、企业邮箱、企业建站等互联网基础服务!

截止目前,已经为超过2000万个域名提供了注册、解析等服务,是中国五星级域名注册注册商!已为超过50万个网站提供了高速稳定的云托管服务,获评中国最受用户喜欢云主机服务商。

西部数码提供全方位7X24H专业售后支撑,域名注册特价1元起,高速稳定云主机45元起,更多详情请浏览西部数码官网:https://www.west.cn/

赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » php连接不上mysql 报错如下

登录

找回密码

注册