Control Web Panel

WebPanel => MySQL => Topic started by: aryardian on November 13, 2014, 10:21:55 AM

Title: Error message when restarting mysql
Post by: aryardian on November 13, 2014, 10:21:55 AM
Hi
I wanna ask bout the mysql database on CWP
i got error message when doing restart

Warning: Error while sending SET_OPTION packet. PID=3029 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 4
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 4

how did this happen? any suggest to solve it?
regads
Title: Re: Error message when restarting mysql
Post by: Administrator on November 15, 2014, 05:52:13 AM
where do you get this error ?
Title: Re: Error message when restarting mysql
Post by: netmkd on December 30, 2014, 02:38:28 PM
And I got the same error .

Warning: Error while sending SET_OPTION packet. PID=7308 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php(1) : eval()'d code(1) : eval()'d code on line 4
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 4

http://postimg.org/image/hvhgi4td1/
Title: Re: Error message when restarting mysql
Post by: Administrator on January 01, 2015, 04:24:55 PM
this is normal since mysql is needed for CWP, you can restart it from command line.
Title: Re: Error message when restarting mysql
Post by: infinitech07 on January 29, 2016, 08:01:01 AM
I had the same problem occurred. CWP version: 0.9.8.11. Restart mysqld from command line no error shown. Any idea?

Warning: Error while sending SET_OPTION packet. PID=31857 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
Title: Re: Error message when restarting mysql
Post by: pedromidiasf on January 29, 2016, 11:08:12 PM
The administrator meant over SSH not over the CWP.
That's a typical error that CWP gives but you can ignore that :)