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

  启动MySQL服务
 
 

sudo /usr/local/mysql/support-files/mysql.server start

 
停止MySQL服务
 
 
sudo /usr/local/mysql/support-files/mysql.server stop
 
重启MySQL服务
 
 
sudo /usr/local/mysql/support-files/mysql.server restart

 

posted @ 2017-09-18 14:09  bert_qin  阅读(24753)  评论(0编辑  收藏  举报