简体   繁体   English

获取MySQL服务器消失错误

[英]getting Mysql server has gone away error

I moved my hosting site three weeks ago after that I am start getting below error: 三周前,我转移了托管站点,然后开始出现错误:

Fatal error: MySQL server has gone away in /home/eprep/public_html/pharmacyprep.com/store/lib/framework/BaseDAO.class.php on line 74 致命错误:第74行上的/home/eprep/public_html/pharmacyprep.com/store/lib/framework/BaseDAO.class.php中,MySQL服务器已消失

This error is coming when user clicks on submit the order. 用户单击提交订单时,将出现此错误。 all the entries are going fine to database for new order but this error is coming instad of showing the order receipt. 所有条目都可以很好地用于新订单的数据库,但是此错误即将显示出订单收据。 All other things arw working fine. 其他所有东西都正常工作。

"MySQL server has gone away" is a MySQL client library error message indicating that the connection to the MySQL server has been lost. “ MySQL服务器已消失”是一条MySQL客户端库错误消息,指示与MySQL服务器的连接已丢失。 Assuming you haven't changed the code in question since before the hosting move, and also that your MySQL database is provided by the same company that hosts your website, I would advise contacting the support department at your new hosting firm and asking them why their database server can't seem to maintain a connection. 假设自托管开始以来您尚未更改相关代码,并且您的MySQL数据库是由托管您的网站的同一家公司提供的,那么我建议您与新托管公司的支持部门联系,并询问他们为什么数据库服务器似乎无法维持连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM