編碼的世界 / 優質文選 / 歷史

查看mysql版本的六種方法


2022年5月22日
-   

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)

熱門文章