2

I'm running ubuntu 10.04, since I upgraded to mysql 5.5 it stopped starting at bootime. I tried sysv-rc-conf mysql on because it was actually set to "off" but still won't boot. I have to manually run service mysql start everytime which will make it start in 2 seconds, also the log shows no errors!

  • Are there any log messages indicating that the system tried to start it during bootup but failed? – mgorven May 19 '12 at 23:12
  • nothing, I just tried to reboot and there's no trace of mysql – Sandro Antonucci May 20 '12 at 22:37
1

Go and edit

/etc/init/mysql.conf

and be sure that you have the lines (somewhere near the top, check if they're not commented):

start on (net-device-up
      and local-filesystems)

Meaning that it will start when networking is up and local filesystems are mounted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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