Author Topic: DISK FULL: Can't start MySQL!  (Read 2150 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
DISK FULL: Can't start MySQL!
« on: December 28, 2021, 06:00:13 AM »
How can i delete cache or log to get free space?

Quote
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/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:

Offline
*
Re: DISK FULL: Can't start MySQL!
« Reply #1 on: December 28, 2021, 01:47:25 PM »
clean the disk as you can't run MySQL with full disk

Useful script for checking logs:
Code: [Select]
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.

Offline
***
Re: DISK FULL: Can't start MySQL!
« Reply #2 on: December 28, 2021, 11:04:05 PM »
You can install 'ncdu' program, (from EPEL repository) it is very simple to use:
Code: [Select]
# 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