欢迎指错,欢迎交流!

在终端下有两种

1,[root@localhost ~]# mysql -V

2,[root@localhost ~]# mysql --help | grep Distrib

在mysql下有四种

3,登陆时会显示

4,mysql> status;

5,mysql> select version();

6,mysql> show variables like "%version%";

windows下cmd操作的全部贴图(cmd没有grep命令,直接mysql --help)

查看mysql版本的六种方法

查看mysql版本的六种方法

查看mysql版本的六种方法

查看mysql版本的六种方法

查看mysql版本的六种方法