Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
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.