查看当前MySQL版本命令

未登陆到MySQL时使用

shell> mysql -V
shell> mysql --help | grep Distrib

登陆MySQL后使用

登陆时会显示

mysql> status;

mysql> select version();

mysql> show variables like "%version%";

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×