UJP - MySQLサーバを停止して,自動起動になっているか確認する

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

  • カテゴリ サイト構築 の最新配信
  • RSS
  • RDF
  • ATOM

ブログ - MySQLサーバを停止して,自動起動になっているか確認する

MySQLサーバを停止して,自動起動になっているか確認する

カテゴリ : 
サイト構築
ブロガー : 
ujpblog 2017/6/11 18:42
 MySQLサーバを停止して見る.
zeus:~ server$ brew services stop mysql
Stopping `mysql`... (might take a while)
==> Successfully stopped `mysql` (label: homebrew.mxcl.mysql)
zeus:~ server$
 停止した.プロセスを確認する.
zeus:~ server$ ps -ef|grep mysqld
  501  9055  5640   0  6:37PM ttys003    0:00.00 grep mysqld
zeus:~ server$
 起動してないことが確認できた.

 macOS SierraでOSが起動した時に自動的にMySQLサーバが起動する設定となっているか,確認する.launchctlで管理している.
zeus:~ server$ launchctl list|grep mysql
8392	0	homebrew.mxcl.mysql
zeus:~ server$
 登録されている.あとはOSを再起動してmysqldが起動するか確認すれば良い.

トラックバック


広告スペース
Google