The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I stop mysql from restarting automatically?

Discussion in 'General Discussion' started by accyroy, Mar 10, 2005.

  1. accyroy

    accyroy Member

    Joined:
    Jun 3, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi people!
    I need to move my mysql databases. For this I need to stop mysql which is fine, but cpanel or something keeps on restarting it automatically. How do I stop the auto restarts temporarily while I move the database?

    Thanks.
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    # /etc/init.d/chkservd stop

    Will prevent mysql restarting, when you stop it.

    # /etc/init.d/chkservd start

    Once you are all done, to restart the service checks. :)
     
Loading...

Share This Page