Restart MySQL Server

To restart MySQL Server you have to use the following command:

a) For RedHat Linux (Fedora Core/Cent OS): /etc/init.d/mysqld restart
b) For Debian/Ubuntu: /etc/init.d/mysql restart


To stop MySQL Server use:
a) For RedHat Linux (Fedora Core/Cent OS): /etc/init.d/mysqld restart
b) For Debian/Ubuntu: /etc/init.d/mysql stop

To start MySQL Server use:
a) For RedHat Linux (Fedora Core/Cent OS): /etc/init.d/mysqld restart
b) For Debian/Ubuntu: /etc/init.d/mysql start


(Redhat Linux also supports service command, which can be use to start, restart, stop MySQL Server:

# service mysqld start
# service mysqld stop
# service mysqld restart)

No comments:

Post a Comment