2.

MySQLの起動、停止、再起動(CentOS, Ubuntu)

編集

起動

■CentOS

service mysqld start

or

/etc/init.d/mysqld start

 

■Ubuntu

systemctl start mysql

 

停止

■CentOS

service mysqld stop

or

/etc/init.d/mysqld stop

 

■Ubuntu

systemctl stop mysql

 

 

再起動

■CentOS

service mysqld restart

or

# /etc/init.d/mysqld restart

 

■Ubuntu

sudo systemctl restart mysql

 

確認

■CentOS

service mysqld status

or

/etc/init.d/mysql status

 

編集
Post Share
子ページ

子ページはありません

同階層のページ
  1. MySQLの起動(Windows)
  2. MySQLの起動、停止、再起動(Linux)
  3. MYSQLへの接続
  4. データベース一覧の表示
  5. データベースへの接続
  6. テーブル一覧を表示
  7. テーブル定義を確認
  8. ユーザーおよびパスワード一覧の確認