MySQL error (MySQL server has gone away) on restart

Started by erntesky, November 18, 2015, 02:36:08 AM

Previous topic - Next topic

erntesky

Can somebody know how to fix this error? Allways shown when I restart the MySQL Database Server...

Warning: Error while sending SET_OPTION packet. PID=25107 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5
MySQL server has gone away
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 5

Farukh Khan

In which page of CWP the error shows up? Is it the login page of CWP? If so you can try using this command : chkconfig mysqld on


Thanks...

erntesky

No, shown up on the Dashboard of the CWP when I restart the MySQL Database Server... I already tried out this "chkconfig mysqld on" command too, but still have that problem...

sixthsense

I've noticed the same problem while restarting the Mysqld service from the control panel. When i restart from command line, this problem is not reported. Anyway in the error messages it shows it's related to cwpsrv.

Farukh Khan


sixthsense

Quote from: Farukh Khan on December 04, 2015, 02:17:59 PM
Maybe a CWP reinstall will solve that.

No it's not a problem that will go away with a reinstall. I've installed two more new servers and they exhibit the same error.

erntesky


Igor S.




You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

infinitech07

This happened to my servers as well. Some of my client's websites stop working because of the database did not return any data from server. Before this, all these are working just fine.

Anyone got clue about this issue?

pedromidiasf

Just ignore that error, it's normal and there is nothing else to do, once you have stoped mysql you have stoped mysql also in CWP that's why you get that error :)