The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to properly restart mysql
What is the proper way to restart mysql without screwing up current database queries.
|
#2
|
||||
|
||||
service mysql restart
|
#3
|
||||
|
||||
I think you mean service mysqld restart
|
#4
|
||||
|
||||
I always forget to put the "d" on at the end when I'm going through commands fast . Another method is:
Code:
/etc/init.d/mysqld restart |
#5
|
||||
|
||||
Sure if the server is setup to recognize mysqld rather then mysql.
On a sidenote, is mysqld the correct way for the server to recongnize it? I've got mine set for service mysql restart and that works, and mysqld is unrecongized service. |
#6
|
|||
|
|||
It all depends on how the server is setup and the OS used.
|
#7
|
||||
|
||||
I believe the stock CentOS RPMs setup the service as "mysqld" and the RPMs from mysql.com will set it up as "mysql", or was it the other way around?
Anyway, both ways should be fine and it really doesn't matter, just a question of which binary you use I guess. |
#8
|
||||
|
||||
Its always been mysqld on servers I have used.
|
#9
|
|||
|
|||
Either option will work. In some it's mysqld, in some it's mysql
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|