Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: feronso on April 22, 2015, 06:47:51 AM

Title: Warning and Error shows when restart MySQL in Dashboard
Post by: feronso on April 22, 2015, 06:47:51 AM
Hello,

When i restart MySQL server from the dashboard of CWP it shows the following errors of codes.

Code: [Select]
Warning: Error while sending SET_OPTION packet. PID=14097 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

I think this is something related with CWP panel configuration which is integrated with MySQL service so when it restart it shows this message.
Title: Re: Warning and Error shows when restart MySQL in Dashboard
Post by: Glenn on April 22, 2015, 05:16:31 PM
I think what you are seeing is just cwp not able to connect to the database because it's been restarted if you refresh your
Browser it should go back to normal