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 Threads
Replies
0
Views
44
Replies
2
Views
79
Replies
2
Views
78
Replies
2
Views
126
Recommended Threads
Replies
15
Views
5,822
Replies
1
Views
1,397
Replies
6
Views
2,707

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