Control Web Panel
WebPanel => MySQL => Topic started by: erntesky on November 18, 2015, 02:36:08 AM
-
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
-
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...
-
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...
-
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.
-
Maybe a CWP reinstall will solve that.
-
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.
-
Look's it is a bug...
-
Hello.
"this is normal since mysql is needed for CWP, you can restart it from command line." ©
http://forum.centos-webpanel.com/mysql/error-message-when-restarting-mysql/
-
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?
-
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 :)