Question : prevent mysql from running on every boot or restart
Answered by : cephas-kingori
cd /etc/init
nano mysql.conf
comment out the "start on" line near the top of the file by adding a # e.g #start on runlevel [2345] run the following to start the server at any time
service mysql start
Source : | Last Update : Mon, 11 Jul 22
Question : prevent mysql from running on every boot or restart
Answered by : cephas-kingori
sudo systemctl disable mysql # to revert
sudo systemctl enable mysql
sudo systemctl start mysql
Source : | Last Update : Mon, 11 Jul 22