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

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.