Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.