windows 下 打开 c:/mysql/bin/mysql  就可以看到

解决方案 »

  1.   

    Microsoft Windows XP [版本 5.1.2600]
    (C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\User>cd c:\mysql\binC:\mysql\bin>mysql
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 3 to server version: 4.0.15-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql>
    Your MySQL connection id is 3 to server version: 4.0.15-nt
      

  2.   

    To:lehool(爱生活,爱精彩!) 
    谢了!:)
      

  3.   

    还有一个方法
    select version();
      

  4.   

    其实phpMyAdmin上面有显示的,呵呵
      

  5.   

    很多方法c:\>mysql --version
    mysql  Ver 12.22 Distrib 4.0.17, for Win95/Win98 (i32)c:\>mysql -uroot -p
    Enter password: ********
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 1424 to server version: 4.0.17-nt-logType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> select version();
    +---------------+
    | version()     |
    +---------------+
    | 4.0.17-nt-log |
    +---------------+
    1 row in set (0.05 sec)mysql> select @@version;
    +---------------+
    | @@VERSION     |
    +---------------+
    | 4.0.17-nt-log |
    +---------------+
    1 row in set (0.01 sec)