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均告失败。
2022-12-29 21:33:25
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均告失败。
下一篇:tmp_table_size