472,111 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,111 software developers and data experts.

How to start / stop the MySQL service

blossam
29
hi,
i want to shutdown mysql service n after that i want to start it
i m using
mysqladmin -u root shutdown command to stop service
now i want to start it using command do u know which command i can use to start mysql after shutdown it
Sep 7 '07 #1
4 123997
bartonc
6,596 Expert 4TB
hi,
i want to shutdown mysql service n after that i want to start it
i m using
mysqladmin -u root shutdown command to stop service
now i want to start it using command do u know which command i can use to start mysql after shutdown it
Check out the manual: 5.2.2. Command Options.

Also, I notice that you are on Windows.
In the Start menu, under MySQL go to the MySQL Server x.x | MySQL Server Instance Configuration Wizard. There you will find an option to start the service when Windows boots up.
Sep 7 '07 #2
Atli
5,058 Expert 4TB
Hi.

If you are using Windows, you can start and stop the MySQL service just like any other service.
Open a cmd window and type:
Expand|Select|Wrap|Line Numbers
  1. net stop MySQL
  2. net start MySQL
  3.  
Where MySQL is the name of the MySQL service.

On Linux you can do something like this:
Expand|Select|Wrap|Line Numbers
  1. # /etc/init.d/mysqld start
  2. # /etc/init.d/mysqld stop
  3. # /etc/init.d/mysqld restart
  4.  
Fedora / Red Hat also support this:
Expand|Select|Wrap|Line Numbers
  1. # service mysqld start
  2. # service mysqld stop
  3. # service mysqld restart
  4.  
P.s. I edited the title to make it a little clearer.
Sep 7 '07 #3
blossam
29
Hi.

If you are using Windows, you can start and stop the MySQL service just like any other service.
Open a cmd window and type:
Expand|Select|Wrap|Line Numbers
  1. net stop MySQL
  2. net start MySQL
  3.  
Where MySQL is the name of the MySQL service.

On Linux you can do something like this:
Expand|Select|Wrap|Line Numbers
  1. # /etc/init.d/mysqld start
  2. # /etc/init.d/mysqld stop
  3. # /etc/init.d/mysqld restart
  4.  
Fedora / Red Hat also support this:
Expand|Select|Wrap|Line Numbers
  1. # service mysqld start
  2. # service mysqld stop
  3. # service mysqld restart
  4.  
P.s. I edited the title to make it a little clearer.
thanks 4 help me. i really need this
Sep 8 '07 #4
Kiraa
1
yes really Thx it helps and it's Simple .... thx
Nov 17 '14 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Li Pang | last post: by
2 posts views Thread by C.C. \(aka Me\) | last post: by
4 posts views Thread by Bob | last post: by
3 posts views Thread by Goran Djuranovic | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.