Saturday, September 11, 2010

Removing MySQL from the Linux boot sequence

Do you want to speed up your boot time? maybe you are a software developer that doesn't require MySQL server to be up and running eveytime you turn on your laptop, and if you are running Kubuntu Lucid Lynx (10.4) like me, you probably already noticed that configuring the startup scripts via sysvrc conf doesn't work anymore.

You can read more about the change in this link, but the important thing right now is how to stop MySQL from loading next time you boot the computer:

  • cd /etc/init directory
  • sudo editor mysql.conf
  • At the beginning of the file add a comment to the "start on" line (actually two lines)
In the same folder you will find other services that may be stop in a similar way.