Server Fault is a question and answer site for system and network administrators. 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

I've got a new install of Ubuntu 12.04 + Virtualmin. I've upgraded from the default mysql 5.5 to Percona 5.6. Everything works except for one problem: when the server reboots, Percona is not automatically started. If I run "/etc/init.d/mysql start", everything works, so it is not a problem with the mysql/percona configuration, it is just that it does not start automatically.

I know there is a difference that mysql under virtualmin was started with "service mysqld start", but percona only works with init.d, and that is supposed to prevent me from using virtualmin/webmin to start/stop/restart mysql now, but what do I do to at least make it start after reboot?

share|improve this question
up vote 0 down vote accepted

This should make mysql start at boot

sudo update-rc.d mysql defaults

share|improve this answer

From the command line, update-rd.d is used to manage unit scripts.

share|improve this answer

Your Answer


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.