nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

restart mysql centos server

This is a discussion on restart mysql centos server within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; how come i restart mysql server in centos 4.7 server?...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 10th March 2010, 05:33 PM
Member
 
Join Date: Jul 2009
OS: Fedora linix
Scripting language: Linux bash
Posts: 70
Thanks: 40
Thanked 0 Times in 0 Posts
Rep Power: 2
chinalinix is on a distinguished road
Angry restart mysql centos server

how come i restart mysql server in centos 4.7 server?
Reply With Quote
  #2 (permalink)  
Old 10th March 2010, 06:10 PM
sweta's Avatar
Contributors
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 213
Thanks: 18
Thanked 11 Times in 11 Posts
Rep Power: 8
sweta has a spectacular aura aboutsweta has a spectacular aura aboutsweta has a spectacular aura about
Default

Type as root user
Code:
service mysqld restart
If not root use sudo or su to become a root:
Code:
su -
service mysqld restart
If sudo is configured
Code:
sudo /sbin/service mysqld restart
Stop mysqld:
Code:
service mysqld stop
Start mysqld:
Code:
service mysqld start
__________________
Reply With Quote
The Following User Says Thank You to sweta For This Useful Post:
chinalinix (12th March 2010)
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Auto Restart Linux Server Daily At Desired Time vamsi CentOS / RHEL / Fedora 4 29th January 2010 09:28 AM
CentOS Linux: Upgrading Apache php-mysq from 4 to 5 for MySQL 5 Danm CentOS / RHEL / Fedora 3 24th July 2009 10:42 PM
Cannot log in to centos 5 server melvuen CentOS / RHEL / Fedora 1 16th December 2008 12:35 PM
SSH: Restart Mysql Server sweta Getting started tutorials 1 15th June 2008 10:21 PM
Tomcat shell script cron job to restart server kasimani Shell scripting 4 3rd May 2008 07:46 PM


All times are GMT +5.5. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40