Remove MySQL from Ubuntu startup

If you want to remove mysql from your system startup rcconf or sysv-rc-conf can’t disable it because of the SysV init approach. Here is how to do it:

sudo vim /etc/init/mysql.conf

Comment out the whole start on entry. This should look like the following:

#start on (net-device-up
#          and local-filesystems
#         and runlevel [2345])

Leave a Comment