script for to stop mysql process

Discussion in 'Database' started by raghu88, Mar 21, 2013.

  1. raghu88

    raghu88 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi to all,


    Any one help me out,

    i want a script to stop mysql process(without using kill command).

    Help me out.

    Thanks in advance.
  2. laurentv

    laurentv New Member

    Messages:
    23
    Likes Received:
    2
    Trophy Points:
    3
    to stop mysql
    service mysqld stop
    Rob likes this.
  3. Rob

    Rob Administrator Staff Member

    Messages:
    565
    Likes Received:
    171
    Trophy Points:
    43
    Yup.. either that or
    /etc/init.d/mysql stop
  4. akbarali

    akbarali New Member

    Messages:
    16
    Likes Received:
    2
    Trophy Points:
    3
    Hello raghu88

    To automatically start or stop mysql you can use the following link which has provided all the necessary details and command of how to do it.

    Thanks...Go to below link.

    dev.mysql.com/doc/refman/5.1/en/automatic-start.html

Share This Page