免费注册
帮助文档(华北一、二)
如何查询MySQL实例的客户端和服务器端版本
  • Server version显示服务器端版本。

    mysql> s

    ./mysql Ver 14.14 Distrib 5.6.20-ucloudrel1, for Linux (x86_64) using EditLine wrapper

    Connection id: 40491

    Current database:

    Current user: ucloudbackup@115.239.196.104

    SSL: Not in use

    Current pager: stdout

    Using outfile: ‘’

    Using delimiter: ;

    Server version: 5.5.24-ucloudrel1-log Source distribution

    Protocol version: 10

    Connection: 114.119.41.82 via TCP/IP

    Server characterset: utf8

    Db characterset: utf8

    Client characterset: utf8

    Conn. characterset: utf8

    TCP port: 3370

    Uptime: 3 days 8 hours 42 min 18 sec