Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 installed MySQL using apt-get ..., and when I press the power button, while my system boot up, MySQL starts automatically. But I want to know what's the time it starts exactly, and through which script the mysqld is invoked?

share|improve this question

For recent Ubuntu versions, in /etc/init/mysql.conf you'll find the Upstart configuration for the MySQL service. Upstart is the init daemon to initialize and boot the system after your kernel and initramfs are finished.

As Upstart is event-driven and based on dependencies, you can't tell exactly in what order and what time a service is started, but you can change the dependencies in the start on directive. I suggest you to read more about Upstart in case you want to do modification in this.

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.