Mac上mariadb的启动与关闭

1. 启动

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist 

2. 关闭

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist 

 

经过试验,发现只有unload方法可以停止服务,其他如:mysqladmin shutdown、support-files/mysql.server stop均告失败。

posted @ 2015-06-03 18:46  samu  阅读(603)  评论(0编辑  收藏  举报