Check MySQL service uptime through command line

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).

WHMCS Complete Billing and Support

You just need to follow the below steps:

[1] Login to your server via SSH or access MySQL server via MySQL command line.

[2] Type the command mysql and hit enter. This will show you mysql prompt (mysql >).

[3] You may need to supply your MySQL root username and password to login to your MySQL server.

[4] Now to check the MySQL service uptime, execute the following command:

\s

This should show you MySQL service uptime.

Posted in MySQL.

Leave a Reply

Your email address will not be published. Required fields are marked *