Four ways to view versions of "MySQL"

Source: Internet
Author: User

1: Under the terminal: Mysql-v. Here is the code snippet:

[[email protected] ~]$ mysql-14.74.1 for Redhat-linux-gnu (i686)

2::mysql> status in MySQL;
Here is the code snippet:
 

Mysql>status; --------------MySQL Ver14.7Distrib4.1.10a, forredhat-linux-GNU (i686) Connection ID:416Ssl:notinchUse current pager:stdout Using outfile:"'Using delimiter:; Server version:3.23. About-Log Protocol version:TenConnection:localhost via UNIX socket Client characterset:latin1 Server characterset:latin1 U NIX Socket:/tmp/mysql_3311.sock Uptime: +Days +Hours +Min $sec Threads:1Questions:584402560Slow Queries:424Opens:59664208Flush tables:1Open tables: -Queries per second avg:107.551

3: Find in Help
Here is the code snippet:
  

[[email protected] ~]$ MySQL--help |  14.74.1 for Redhat-linux-gnu (i686)

4: Using MySQL's functions
Here is the code snippet:
  

Select  version (); +-------------+ | Version ()   3.23.   -log | +-------------+ 1inset (0.00 sec)

Four ways to view versions of "MySQL"

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.