Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
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.