15
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MySQLの自動起動を無効に

Last updated at Posted at 2018-01-15

環境はMacOSを想定しています。

自動起動を設定しているサービスのリストを確認

$ brew services list
Name         Status  User      Plist
redis        stopped
mysql        stopped
mysql@5.6    started username  /Users/username/Library/LaunchAgents/homebrew.mxcl.mysql@5.6.plist
chromedriver stopped

自動起動設定を無効にする

自動起動設定を無くしたいサービスの名前(今回は、mysql@5.6)を次のコマンドの最後に設定します。

$ brew services stop mysql@5.6(この部分は止めたいサービス名を入力してください)
==> Successfully stopped `mysql@5.6` (label: homebrew.mxcl.mysql@5.6)

きちんとできたか確認

$ brew services list
Name         Status  User      Plist
redis        stopped
mysql        stopped
mysql@5.6    stopped
chromedriver stopped

できました。

15
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?