Disable autostart from mysql

Hartmut freemlist at googlemail.com
Sun Mar 6 22:19:35 UTC 2011


On Sun, Mar 6, 2011 at 8:34 PM, Tom H <tomh0665 at gmail.com> wrote:
> On Sun, Mar 6, 2011 at 1:58 PM, Hartmut <freemlist at googlemail.com> wrote:
>> On Sun, Mar 6, 2011 at 5:37 PM, Tom H <tomh0665 at gmail.com> wrote:
>>> On Sun, Mar 6, 2011 at 9:41 AM, Hartmut <freemlist at googlemail.com> wrote:
>>>>
>>>> how can I disable the autostart from mysql during boot? I removed
>>>> mysql from all runlevels with 'sudo update-rc.d -f mysql remove', but
>>>> mysql is still running after system boot.
>>>
>>> I think that mysql's been "upstarted" and its startup is controlled
>>> through "/etc/init/mysql.conf".
>>
>> The file /etc/init/mysql.conf contains
>> ----------
>> start on (net-device-up
>>          and local-filesystems
>>          and runlevel [2345])
>> ----------
>> Is it clever to remove the content between the brackets? Or isn't this
>> a good idea?
>
> If you'd like to disable mysql's auto-start, you should comment out
> the three lines - and (since I don't know whether these changes are
> respected) check that your changes aren't reversed when mysql's
> updated.

Hi Tom,

thank you very much for your extensive explanations. I will try this,
next time I'm on this system.

Greetings
Hartmut




More information about the ubuntu-users mailing list