[CentOS] MySQL stale socket

Luigi Rosa lists at luigirosa.com
Mon Dec 16 09:51:54 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a server with a faulty power supply that resets the server every 4/5
hours.

While I wait for the supplier to change the PS, I am facing an issue with MySQL.

When the system comes back on, mysqld script starts the daemon, but the
connections via /var/lib/mysql/mysql.sock don't work because MySQL doesn't
delete and recreate the stale socket.

Apart from editing /etc/init.d/mysqld to force the deletion of a stale socket
are there any other way to solve this issue?


Thank you un advance.


Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

Microsoft may issue tablets by Christmas. No word yet on whether
they'll contain potassium cyanide or saxitoxin.
    --fark.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKuzTMACgkQ3kWu7Tfl6ZRW6gCfaU56Jcayg7TfZU9b0vTkTJXs
m7EAoM7ROhaRk+x+3C0+ygi/Xk+2PKke
=BWy2
-----END PGP SIGNATURE-----



More information about the CentOS mailing list