Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Four ways to check the mysql version

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1: under the terminal: mysql-V. The following is a code snippet:

[shengting@login] $mysql-V

Mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)

2: in mysql: mysql > status

The following is a code snippet:

Mysql > status

-

Mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)

Connection id: 416

SSL: Not in use

Current pager: stdout

Using outfile:''

Using delimiter:

Server version: 3.23.56-log

Protocol version: 10

Connection: Localhost via UNIX socket

Client characterset: latin1

Server characterset: latin1

UNIX socket: / tmp/mysql_3311.sock

Uptime: 62 days 21 hours 21 min 57 sec

Threads: 1 Questions: 584402560 Slow queries: 424 Opens: 59664208 Flush tables: 1 Open tables: 64 Queries per second avg: 107.551

3: search in help

The following is a code snippet:

[shengting@login ~] $mysql-- help | grep Distrib

Mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)

4: functions that use mysql

The following is a code snippet:

Mysql > select version ()

+-+

| | version () |

+-+

| | 3.23.56-log |

+-+

1 row in set (0.00 sec)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report