How to check MySQL startup time and running time

Source: Internet
Author: User
Tags timestamp to date

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.