Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - apspan

Pages: [1]
1
CentOS-WebPanel Bugs / MySQL issue
« on: July 27, 2019, 10:55:02 AM »
Hi all. I have a very strange issue with my server.

Every now and again the database kinda falls apart and none of my websites are working.

The solution to this is to login into the CWP (where I get the error below) and refresh the page. This kinda re-starts MySQL and everything gets back to normal.

Can anyone help please? I can't find anything useful on the internet.

Thanks in advance for taking the time.

Cheers

Code: [Select]
Warning: mysql connect(): (HY000/2002): Connection refused in /usr/locallcwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli connect(): (HY000/2002): Connection refused in /usr/locallcwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysql connect(): (HY000/2002): Connection refused in /uselocal/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli connect(): (HY000/2002): Connection refused in /uselocal/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_cwpsry

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db conn.php and /root/.my.cnf Warning: mysqli error() expects exactly 1 parameter, 0 given in /uselocal/cwpsrv/htdocs/admin/adminfindex.php on line 0 Could not connect:

Pages: [1]