Sponsored Community Message Browse Free. Go deeper with Full Access. Free visitors can browse public knowledge. Full Access unlocks participation, member areas, and an ad-free experience.

How Do I Restart MySQL Server?-gctid51252

Started by Ɔbenfo Ọbádélé, May 14, 2012, 09:53 PM

Previous topic - Next topic
How Do I Restart MySQL Server?http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-mysql-server/
'"').'")."n[/list]"'

37 comments

Each  distribution comes with a shell script (read as service) to restart /  stop / start MySQL server. First login as root user and open shell  prompt (command prompt).
First login as root user. Now type the following command as per your Linux distro:
A) If you are using mysql on RedHat Linux (Fedora Core/Cent OS) then use following command:* To start mysql server:

/etc/init.d/mysqld start[/code]* To stop mysql server:

/etc/init.d/mysqld stop[/code]* To restart mysql server

 /etc/init.d/mysqld restart[/code]Tip: Redhat Linux also supports service command, which can be use to start, restart, stop any service:

# service mysqld start # service mysqld stop # service mysqld restart[/code](B) If you are using mysql on Debian / Ubuntu Linux then use following command:* To start mysql server:

/etc/init.d/mysql start[/code]* To stop mysql server:

/etc/init.d/mysql stop[/code]* To restart mysql server

/etc/init.d/mysql restart[/code]
__________

Ọbádélé Kambon, PhD
Nana Kwame Pɛbi Date I, Ban mu Kyidɔmhene, Akuapem Mampɔn
Senior Research Fellow & Research Coordinator - Language, Literature and Drama Section
Institute of Kmtyw Studies - College of Humanities
Editor-in-Chief - Ghana Journal of Linguistics
Secretary (2015-2020) - Kmtyw Studies Association of Kmt
+233249195150 / +19192836824 | me@obadelekambon.com
www.obadelekambon.com | www.abibitumi.com
Room 115 IAS Kwame Nkrumah Complex
University of Ghana - Legon
Alternate Email: obkambon@staff.ug.edu.gh



Ọbádélé Kambon App



Abibitumi.com App