2008-12-03 37 views

回答

3

选择版本();

+0

这也很好用。谢谢! – 2008-12-04 09:53:11

2

命令行:

mysql --version 
0

除了已经提到的解决方案,你可以简单地看到的版本,如果你在你的shell类型mysql。你会得到这样的事情:

[[email protected]]# mysql 
Welcome to the MySQL monitor. Commands end with ; or \g. 
Your MySQL connection id is 386102 
Server version: 5.1.61 Source distribution 

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. 

Oracle is a registered trademark of Oracle Corporation and/or its 
affiliates. Other names may be trademarks of their respective 
owners. 

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. 

在那里你可以看到版本是在线路Server version: 5.1.61 Source distribution打印。

相关问题