MySQL Daemon Lock issue

I just ran into this. The mysql install was a little weird and was missing
/var/run/mysqld/

MySQLd was attempting to create the socket and lock file but the parent directory was missing. I simply created the directory

sudo mkdir /var/run/mysqld

chowned it to mysql

sudo chown mysql:mysql /var/run/mysqld

I was then able to start mysqld normally.

Leave a Comment

techhipbettruvabetnorabahisbahis forumu