MySQLサーバが起動しているか確認する

MySQLサーバが起動しているか確認できます。起動している場合は、aliveが返ってきます。

# mysqladmin ping
mysqld is alive

 

[対象]
MySQL 5.x.x