我显示的是 mysql Ver 14.12 Distrlib 5.0.15, for Win32 (ia32)
D:\MySQL Server 5.0\bin>mysqld -V mysqld Ver 5.0.15 for Win32 on ia32 (Official MySQL binary)怎么解释?
在mysql>下输入select version()同样可以看到版本号如本地机子: mysql> select version(); +-----------+ | version() | +-----------+ | 5.0.15-nt | +-----------+ 1 row in set (0.02 sec)不知道这个版本是什么意思?
各位,抱歉我这几天没上csdn,才看到。你们所显示的版本号,诸如“Distrlib”、“Official MySQL binary”等版本,其实都是“Community”版的,也就是说都是社区版的。“NT”版应该是网络版的吧?奇怪,中国还真有用过网络版的程序员?楼上的skyairmj(方外) ,你再用“mysqld -V”看看你显示的什么版本,还有你用“mysql -u root”进入时也会显示一次版本信息的,显示的是什么?好,再看看我的显示吧:C:\mysql\bin>mysqld -V mysqld Ver 5.0.21-community for Win32 on ia32 (MySQL Community Edition (GPL))C:\mysql\bin>mysqldC:\mysql\bin>mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.21-communityType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> select version(); +------------------+ | version() | +------------------+ | 5.0.21-community | +------------------+ 1 row in set (0.09 sec)mysql> quit ByeC:\mysql\bin> 看,用命令“mysqld -V”显示“MySQL Community Edition (GPL)”,说明是社区版。 刚以命令行登入mysql会显示版本信息:“5.0.21-community”,也说明是社区版。 SQL查询一下版本“select version();”,会显示“5.0.21-community”,也说明是社区版。
用命令“mysqld -V”显示: D:\MySQL Server 5.0\bin>mysqld -V mysqld Ver 5.0.15 for Win32 on ia32 (Official MySQL binary) 刚以命令行登入mysql会显示版本信息: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 14 to server version: 5.0.15-nt SQL查询一下版本“select version();”: mysql> select version(); +-----------+ | version() | +-----------+ | 5.0.15-nt | +-----------+ 1 row in set (0.00 sec)
“-V”这个参数意思是显示Version,也就是版本信息。如果你的版本信息最后显示是“(MySQL Community Edition (GPL))”,就一定是社区版了。网络版要花钱买的,我还没听说过国内程序员有用过网络版的。如果发现谁能提供网络版的,也别忘给俺一份试试了。
mysql Ver 14.12 Distrlib 5.0.15, for Win32 (ia32)
mysqld Ver 5.0.15 for Win32 on ia32 (Official MySQL binary)怎么解释?
mysql> select version();
+-----------+
| version() |
+-----------+
| 5.0.15-nt |
+-----------+
1 row in set (0.02 sec)不知道这个版本是什么意思?
mysqld Ver 5.0.21-community for Win32 on ia32 (MySQL Community Edition (GPL))C:\mysql\bin>mysqldC:\mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 5.0.21-communityType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> select version();
+------------------+
| version() |
+------------------+
| 5.0.21-community |
+------------------+
1 row in set (0.09 sec)mysql> quit
ByeC:\mysql\bin>
看,用命令“mysqld -V”显示“MySQL Community Edition (GPL)”,说明是社区版。
刚以命令行登入mysql会显示版本信息:“5.0.21-community”,也说明是社区版。
SQL查询一下版本“select version();”,会显示“5.0.21-community”,也说明是社区版。
D:\MySQL Server 5.0\bin>mysqld -V
mysqld Ver 5.0.15 for Win32 on ia32 (Official MySQL binary)
刚以命令行登入mysql会显示版本信息:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14 to server version: 5.0.15-nt
SQL查询一下版本“select version();”:
mysql> select version();
+-----------+
| version() |
+-----------+
| 5.0.15-nt |
+-----------+
1 row in set (0.00 sec)