DISK FULL: Can't start MySQL!

Started by kohshan, December 28, 2021, 06:00:13 AM

Previous topic - Next topic

kohshan

How can i delete cache or log to get free space?

QuoteWarning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


DISK FULL: Can't start MySQL!


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

studio4host

clean the disk as you can't run MySQL with full disk

Useful script for checking logs:
sh /scripts/disk_check
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Netino

You can install 'ncdu' program, (from EPEL repository) it is very simple to use:

# yum install ncdu


It builds a resumed list for disk space occupied from current directory.
It is very fast.

(To install first EPEL repository, check: https://www.cyberciti.biz/faq/installing-rhel-epel-repo-on-centos-redhat-7-x/)

Regards,
Netino