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.