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均告失败。

文章来自:http://www.cnblogs.com/feika/p/4549978.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3