/var/run/mysqld/ does not get created after reboot
Hey.
We've run into a strange problem lately and we can't figure out what the problem is.
On all of our servers that run cPanel and CloudLinux, the /var/run/mysqld/ directory does not get created during a reboot. MariaDB is configured to use /var/run/mysqld/mysqld.pid as the pid file (which is the default setting, I think?).
Whenever we reboot our server, MariaDB fails to start. We need to manually create the directory, change the owner to the mysql user and then start MariaDB.
Does anyone know why this happens? We've upgraded MariaDB many times so I suspect the pid-file option is not longer needing to be set in the my.cnf file - I haven't found any information about this, though.
Please sign in to leave a comment.
Comments
0 comments