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

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

What command returns the current version of a MySQL database?

20条回答
  •  情书的邮戳
    2020-11-28 18:20

    You can also look at the top of the MySQL shell when you first log in. It actually shows the version right there.

    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 67971
    Server version: 5.1.73 Source distribution
    
    Copyright (c) 2000, 2013, 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>
    

提交回复
热议问题