Check MySQL service uptime through command line
As a server administrator, it is easy to check MySQL service uptime through command line (via SSH for Linux server or MySQL command line for Windows server).
You just need to follow the below steps:
 Login to your server via SSH or access MySQL server via MySQL command line.
 Type the command mysql and hit enter. This will show you mysql prompt (mysql >).
 You may need to supply your MySQL root username and password to login to your MySQL server.
 Now to check the MySQL service uptime, execute the following command:
This should show you MySQL service uptime.
Last Updated on