Prevent Mysql starting at boot

刘勇泰 lytric at gmail.com
Wed Apr 28 00:53:54 UTC 2010


Thanks a lot for James' and Maxime's patient replies. But moving
S80mysql to K80mysql dose the same with "update-rc.d mysql remove".
Actually, the problem is that besides sysv runlevel system, init daemon
process has it's own configuration on what to be started. In
the /etc/init directory, there are init configuration files, and the one
for mysql service is mysql.conf. In mysql.conf it tells init to start
mysql when network devices and locale file system are ready, so only
deactivating mysql in sysv runlevel system does not working.

On 2010-04-26一的 10:10 -0400,Maxime Alarie wrote:
> Everything you need to know is here: http://www.debuntu.org/how-to-manage-services-with-update-rc.d
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of James Bensley
> Sent: Monday, April 26, 2010 2:58 AM
> To: Ubuntu user technical support,not for general discussions
> Subject: Re: Prevent Mysql starting at boot
> 
> Use update-rc.d to set init leves, sorry i can't be more useful i'm
> not infront of the poota right now, google that if your unsure and you
> should find the answer.
> 
> On 4/26/10, 刘勇泰 <lytric at gmail.com> wrote:
> > Hello, everyone. I'm using Ubuntu 10.4 and installed Mysql server. Since
> > I don't use Mysql all the time, I prefer starting it manually when
> > needed rather than automatically at boot. I am SURE that all S80mysql
> > symbolic links in /etc/rc*.d had been moved to K80mysql, but Mysql still
> > start automaticaly. Is there any other thing causing Mysql start at
> > boot?
> >
> 
> -- 
> Sent from my mobile device
> 
> Regards,
> James.
> 
> http://www.jamesbensley.co.cc/
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: 这是信件的数字签名部分
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100428/aed61a01/attachment.sig>


More information about the ubuntu-users mailing list