MariaDB stops after a while on ubuntu 14.04 and cannot restart
I have an $5 droplet with a LAMP stack, where I switched out mysql for MariaDB, running WordPress. It seems that after a while, MariaDB stops and I get “error establishing a database connection” page.
I have tried to restart MariaDB, but no luck:
robin@janwillemspanjer:~$ sudo service mysql restart stop: Unknown instance: start: Job failed to start robin@janwillemspanjer:~$ sudo service mysqld restart mysqld: unrecognized service
Also, it appears that the log files are completely empty. What can I do to fix this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×