If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How do I restart a MySQL server in Linux?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-11-04, 14:20
Mike Borozdin Mike Borozdin is offline
Registered User
 
Join Date: Sep 2003
Location: St.Petersburg, Russia
Posts: 19
How do I restart a MySQL server in Linux?

Hi!

This question might seem to be silly, but I searched in the documentation and didn't found an answer, so I'm asking here . How do I restart a server in Linux? I can restart it in phpMyAdmin, I even did that, but then when I looked at its status I found its uptime and it said as if I hadn't restarted it.

Why do I need to restart it?

Because I changed the configuration file /etc/my.cnf and put that string there:

Code:
sort_buffer_size=128M
By the way, after several restarting in phpMyAdmin it still showed the old sort_buffer_size value in the system variables, so I don't think phpMyAdmin restart the it properly, correct me if I'm wrong.
Reply With Quote
  #2 (permalink)  
Old 08-12-04, 05:10
buriedUnderGrou buriedUnderGrou is offline
Registered User
 
Join Date: Jul 2004
Posts: 3
have you tried something like:

/etc/rc.d/init.d/mysqld restart

that's how i restart mine via command line.
Reply With Quote
  #3 (permalink)  
Old 08-12-04, 06:49
pradeepgv pradeepgv is offline
Registered User
 
Join Date: Aug 2004
Posts: 2
mysql

you can try

service mysql stop
service mysql start

regards
Pradeep George
DBA,
US Technology
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On