: How to ensure mysql starts automatically if server restarts on Ubuntu Server Occasionally for various reasons my webhost 'reboots' my VPS after doing some routine maintenance or upgrades. However
Occasionally for various reasons my webhost 'reboots' my VPS after doing some routine maintenance or upgrades. However when they do, or if I reboot the server for any reason myself, mysql doesn't restart.
To restart it I need to ssh in and run...
service mysql start
How can I make it start automatically like the other programs my website depends on to work properly. Otherwise users of my site see the site down until I can get in and fix it.
Is this an issue with Ubuntu Server or is it my vps host?
More posts by @Murray155
1 Comments
Sorted by latest first Latest Oldest Best
Add that line to your /etc/rc.local file when the server reboots it will start mysql
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.