Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

MySQL is started automatically each time I boot my ElementaryOS Luna, how can I disable this and have MySQL off by default?

I have verified that the mysql service is disabled at all runlevels using chkconfig --list but every time I restart the machine mysql responds normally, i.e. it is running, and I have to run sudo service mysql stop to stop it.

share|improve this question
up vote 0 down vote accepted

Elementary OS is based on Ubuntu so I would have a look through the /etc/rc directories and see if there is an entry in there which is starting mysql

The Ubuntu guide for this sort of thing suggests something along these lines:

rm /etc/rc*/*myscript

where 'myscript' is the service you want to stop starting at boot

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .