2

I am experiencing the following error when launching MySQL.

can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket '/var/run/mysql/mysql.sock' exists!`

Basically, I have noticed that there is no free space on the partition where MySQL is installed. I freed some space and rebooted, but same error.

I have also tried other solutions I've found on Google, such as: safe mode, restarting services, changing ip address. But none of these have worked.

By the way, the file /var/run/mysql/mysql.sock is not present.

P.S. I am using MariaDB

[EDIT]

From the logs it looks like the DB got corrupted:

[ERROR] InnoDB: Database page corruption on disk or a failed file read of tablespace .... you may have to recover from a backup

zerunio
  • 21
  • 2

0 Answers0