Skip to content

Instantly share code, notes, and snippets.

@slgithub
Last active September 4, 2015 08:46
Show Gist options
  • Save slgithub/8e85a1d539aa6d146dae to your computer and use it in GitHub Desktop.
Save slgithub/8e85a1d539aa6d146dae to your computer and use it in GitHub Desktop.
prevent mysql from starting on boot:

Open the terminal: Ctrl+Alt+T

Open the mysql.conf file: nano /etc/init/mysql.conf

Comment out the "start on" line near the top of the file, the "start on" might be spread across two lines, so comment out both. (comment adding # at the beginning)

If you want to manually start mysql, use the following command:

service mysql start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment