How to retrieve the current version of a MySQL database management system (DBMS)?

后端 未结 20 2402
忘掉有多难
忘掉有多难 2020-11-28 18:06

What command returns the current version of a MySQL database?

20条回答
  •  时光说笑
    2020-11-28 18:15

    E:\>mysql -u root -p
    Enter password: *******
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 1026
    Server version: 5.6.34-log MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2016, 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.
    
    mysql> select @@version;
    +------------+
    | @@version  |
    +------------+
    | 5.6.34-log |
    +------------+
    1 row in set (0.00 sec)
    

提交回复
热议问题