ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码
当前位置:首页 >> 数据库 >> MySql >> mysql查看版本

mysql查看版本

来源:网络整理     时间:2016-05-31     关键词:Mysql

本篇文章主要介绍了"mysql查看版本",主要涉及到Mysql方面的内容,对于MySql感兴趣的同学可以参考一下: 1、在终端下:mysql -V。 以下是代码片段:[leen@login ~]$ mysql -V -------------- mysql Ver14.14D...

1、在终端下:mysql -V。 以下是代码片段:

[leen@login ~]$ mysql -V
--------------
mysql Ver14.14Distrib5.5.40, forWin32 (x86)

2、在mysql中:mysql> status;

mysql> status;
--------------
D:\phpStudy\mysql\bin\mysql.exe  Ver 14.14 Distrib 5.5.40, for Win32 (x86)

Connection id:          2
Current database:
Current user:           root@localhost
SSL:                    Not in use
Using delimiter:        ;
Server version:         5.5.40 MySQL Community Server (GPL)
Protocol version:       10
Connection:             localhost via TCP/IP
Server characterset:    gbk
Db     characterset:    gbk
Client characterset:    gbk
Conn.  characterset:    gbk
TCP port:               3306
Uptime:                 48 min 21 sec

Threads: 1  Questions: 1518  Slow queries: 0  Opens: 47  Flush tables: 1  Open tables: 0  Queries per second avg: 0.523
--------------

3、在help里面查找:

[leen@login ~]$ mysql --help | grep Distrib
mysql Ver14.14Distrib5.5.40, forWin32 (x86)

4、使用mysql的函数:

mysql> select version();
+-----------+| version() |
+-----------+| 5.5.40    |
+-----------+
1 row in set (0.02 sec)

Author:leedaning
本文地址:http://blog.csdn.net/leedaning/article/details/51542995

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('
  • ').text(i)); }; $numbering.fadeIn(1700); }); });

    以上就介绍了mysql查看版本,包括了Mysql方面的内容,希望对MySql有兴趣的朋友有所帮助。

    本文网址链接:http://www.codes51.com/article/detail_1432301.html

    相关图片

    相关文章