1.D:\MySql\bin>mysql -V
mysql Ver 14.12 Distrib 5.0.51b, for Win32 (ia32)
2.mysql> status;
--------------
mysql Ver 14.12 Distrib 5.0.51b, for Win32 (ia32)
Connection id: 2
Current database:
Current user:
SSL: Not in use
Using delimiter: ;
Server version: 5.0.51b-community-nt MySQL Community Edition (GPL)
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: gbk
Db characterset: gbk
Client characterset: gbk
Conn. characterset: gbk
TCP port: 3306
Uptime: 1 hour 40 min 30 sec
3.[shengting@login ~]$ mysql --help | grep Distrib
mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)
4.mysql> select version();
+----------------------+
| version() |
+----------------------+
| 5.0.51b-community-nt |
+----------------------+
1 row in set (0.00 sec)