简体   繁体   中英

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

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. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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