Welcome to wrong, welcome to exchange!
Under the terminal there are two
1,[root@localhost ~]# mysql -V
2,[root@localhost ~]# mysql --help | grep Distrib
There are four kinds under mysql
3. When you log in, it will display
4,mysql> status;
5,mysql> select version();
6,mysql> show variables like "%version%";
All textures of cmd operation under windows (cmd does not have grep command, direct mysql --help)