Control Web Panel
WebPanel => MySQL => Topic started by: edur on November 07, 2017, 12:04:25 PM
-
Hi
I have a big error with my website. It is a wordpress with woocommerce, and normally it runs ok, but sometimes it is down and when I go to CWP I read:
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
I refresh, and it disappeared and the website is up automatically. :-\
How can I fix it?
Where can I see my mysql log in CW7? I have not the a .error log in /var/lib/mysql
-
Today it's repteated
:-\
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
-
you need to locate mysql logs to check this issue, try /var/lib/mysql and /var/log
also try checking /var/log/messages as you maybe can find something interesting there :)