How can I know whether MySQL Server is alive or not?

MySQLMySQLi Database

With the help of ‘mysqladmin’ program, we would be able to know whether our MySQL

server is alive or not. It can be used as follows on the command line −

C:\mysql\bin>mysqladmin -u root ping
mysqld is alive

The message after running the command shows that our MySQL server is alive.

Published on 20-Feb-2018 12:24:30