mysql: unrecognized service ... but mysql is installed and it's working

Posted by mojtaba zavar on Server Fault See other posts from Server Fault or by mojtaba zavar
Published on 2013-11-12T14:55:29Z Indexed on 2013/11/12 15:53 UTC
Read the original article Hit count: 648

Filed under:
|
|
|
|

I'm trying to stop mysql and do some changes , then i'm going to start it again

I'm using a SSH client .

So i ran this 3 commends without any problem

mysql
mysql> SET GLOBAL innodb_fast_shutdown = 0; 
exit;

now when i type

service mysql stop

or

service mysql 

i get

mysql: unrecognized service 

whats wrong ? my site is online and it's using mysql database as i'm typing this , but i can't access

service mysql

some extra info

CentOS release 6.4 (Final)
Server version: 5.5.31 MySQL Community Server 

© Server Fault or respective owner

Related posts about mysql

Related posts about ssh