SQLSTATE[HY000] [2002] Connection refused

Hello, I need urgent help, I have my centos machine with librenms installed on a vmware server, the server got dizzy last night and I had to restart it today in the morning and then when I turned on the centos machine, I could not enter the page and I I got that error “SQLSTATE [HY000] [2002] Connection refused” enter the console and I get this:

Please someone help me:(

Do you have localhost or configured in your .env file? If localhost, you will probably need to add an ipv6 IP entry to your SQL DB ‘grant’ statements.

Can you in fact to connect to the mysql daemon running on CentOS without any issues?

Should I do some configuration here?

Your MariaDB is not starting and first you need to know why.

Check system/mariadb logs

Output of journalctl -xe?

I would do a df -h.

vmware…very likely ran out of space.