How to know the MySQL uptime from commandline

FerdieQO

Well-known member
Joined
Jul 15, 2016
Messages
227
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 Threads
Replies
0
Views
72
Replies
1
Views
99
Replies
0
Views
97
Replies
2
Views
246
Recommended Threads
Replies
19
Views
10,566
Replies
20
Views
6,901
Replies
22
Views
23,338
Replies
10
Views
3,923

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