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.

My server just crashed. I need a script or know how to kill a mysql process

Discussion in 'General Discussion' started by grabyourhosting, Apr 26, 2007.

  1. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I need it soon as possible because my script was overloading the server.
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    login to your server via root in SSH ,execute the following:

    killall -9 mysql
    killall -9 mysqld
    service mysql stop
    service mysql start
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
  4. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    I switched to a 4 cpu server. It helped alot.
     
Loading...

Share This Page