This article describes how to use the MySQL command to view how long the MySQL service has been started and run.
Show global status like 'uptime ';
The unit of the query result is seconds. Calculate the specific start time by yourself. The current time minus the number of seconds.
Articles you may be interested in
- Mysql converts unix timestamp to date format, and MySQL queries the current time
- How to view the current running status of memcache through the command line
- Php obtains the start and end timestamps of today, yesterday, last week, and this month.
- How to view MySQL database character sets
- Why are there always errors between the programmer's estimated time and the actual project completion time?
- Use the GZip compression function of PHP to compress website JS and CSS files to accelerate Website access.
- How to view the number of websites on the same server
- Php obtains the start time and end time timestamp of the week of the specified date.