zoukankan      html  css  js  c++  java
  • 查看mysql版本的四种方法

    以下是代码片段:

    [shengting@login ~]$ mysql -V
    mysql  Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)

        2:在mysql中:mysql> status;

    以下是代码片段:

    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:在help里面查找

    以下是代码片段:

    [shengting@login ~]$ mysql --help | grep Distrib
    mysql  Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)

        4:使用mysql的函数

    以下是代码片段:

    mysql> select version();
    +-------------+
    | version()   |
    +-------------+
    | 3.23.56-log |
    +-------------+
    1 row in set (0.00 sec)

  • 相关阅读:
    Release COM Objects in AE
    图像相关系数
    Geoprocessor edit the featureclasses in memmory
    NetLogo AStar path finding
    IDL+C#三种调用方式
    Dictionary is not like a array
    C# DataGridView 禁止列排序
    工作总结
    (转)常见数据库设计(1)——字典数据
    碎碎念(3)
  • 原文地址:https://www.cnblogs.com/jdonson/p/1531921.html
Copyright © 2011-2022 走看看