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.

Updated on: 20-Jun-2020

236 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements