How to know the MySQL uptime from commandline

FerdieQO

Well-known member
Joined
Jul 15, 2016
Messages
213
Points
28
After some days I was offline and I don't know Mysql server status, I need to check the uptime for MySQL on my server. What is the command will give me the MySQL version along with the uptime of MySQL process?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Few ways to do this.

1. mysqladmin version | grep -i uptime
2. mysqladmin status
3. mysqladmin ver
 

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top