Wednesday, December 9, 2009

shutdown,restart/reload dan start mysql server

untuk shutdown,restart/reload dan start mysql server ada commandnya..
tadi ku baru shutdown server mysql.lahhh,kubingung mo nyalain nya lagi.
setelah nanya ma mbah google ku menemukan cara nya untuk beberapa distro linux.

1) RedHat Linux
Start mysql server:
# /etc/init.d/mysqld start
stop mysql server:
# /etc/init.d/mysqld stop
restart mysql server
# /etc/init.d/mysqld restart


2) Fedora Core
Start mysql server:
# /etc/init.d/mysqld start
stop mysql server:
# /etc/init.d/mysqld stop
restart mysql server
# /etc/init.d/mysqld restart


3) Cent OS

Start mysql server:
# /etc/init.d/mysqld start
stop mysql server:
# /etc/init.d/mysqld stop
restart mysql server
# /etc/init.d/mysqld restart


4) Linux Debian

Start mysql server:
# /etc/init.d/mysqld start
stop mysql server:
# /etc/init.d/mysqld stop
restart mysql server
# /etc/init.d/mysqld restart

No comments: