Me esta saliendo este error y no logro solucionarlo.
Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Aparentemente no encuentra el archivo mysql.sock, fui al directorio donde esta ubicado y efectivamente no existe. busque el archivo por todo el servidor y no esta.
apague el servicio mysql y cuando intente iniciarlo por consola me tirar el error FAILED.
Uso zpanel no se como resolver este problema sin perder todas mis bases de datos.
El log mysqld dice esto
Código MySQL:
Ver original141220 01:
06:
19 mysqld_safe Number of processes running
now:
0 141220 01:06:19 mysqld_safe mysqld restarted
141220 1:
06:
19 InnoDB: Initializing
buffer pool
, size
= 8.0M
141220 1:
06:
19 InnoDB: Completed initialization of
buffer pool
141220 1:
06:
19 InnoDB: Started
; log sequence number
0 215541298 141220 1:06:19 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
141220 01:
06:
19 mysqld_safe Number of processes running
now:
0 141220 01:06:19 mysqld_safe mysqld restarted
141220 1:
06:
19 InnoDB: Initializing
buffer pool
, size
= 8.0M
141220 1:
06:
19 InnoDB: Completed initialization of
buffer pool
141220 1:
06:
19 InnoDB: Started
; log sequence number
0 215541298 141220 1:06:19 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid'
intente reinstalar el Mysql pero me dice algo de insuficiente espacio en VAR/cache/yum...