使用以下方式檢查看看
brew services info mysql
檢查了
brew services start mysql
用這樣方式啟動.
有兩種方式,兩種的差異,自己觀察底下說明.
[sudo] brew services run (formula|--all):
Run the service formula without registering to launch at login (or boot).
[sudo] brew services start (formula|--all):
Start the service formula immediately and register it to launch at login
(or boot).
停止可以用
brew services stop mysql
盡量少用 kill -9