Chinaunix首页 | 论坛 | 博客
  • 博客访问: 865490
  • 博文数量: 354
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 3730
  • 用 户 组: 普通用户
  • 注册时间: 2017-08-21 18:43
文章分类

全部博文(354)

文章存档

2019年(126)

2018年(223)

2017年(5)

我的朋友

分类: Mysql/postgreSQL

2018-06-28 17:46:48

方法一:

[root@db01 ~]# mysql 登录的时候会显示数据库的版本

     Welcome to the MySQL monitor.  Commands end with ; or \g.

     Your MySQL connection id is 1

     Server version: 5.6.34-log Source distribution

方法二:

    mysql> status;

    --------------

    mysql  Ver 14.14 Distrib 5.6.34, for Linux (x86_64) using  EditLine wrapper

 

方法三:

    mysql> select version();

    +------------+

    | version()  |

    +------------+

    | 5.6.34-log |

阅读(1627) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~