Home >Database >Mysql Tutorial >在Mac OS X启动和停止MySQL服务的命令_MySQL

在Mac OS X启动和停止MySQL服务的命令_MySQL

WBOY
WBOYOriginal
2016-06-01 13:34:261159browse

bitsCN.com

在Mac OS X启动和停止MySQL服务的命令

 

摘要:在Mac OS X启动和停止MySQL服务的命令

 

启动MySQL服务

 

1

sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

 

停止MySQL服务

 

1

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop

 

重启MySQL服务

 

1

sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart

 

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn