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

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

What command returns the current version of a MySQL database?

20条回答
  •  [愿得一人]
    2020-11-28 18:32

    Mysql Client version : Please beware this doesn't returns server version, this gives mysql client utility version

    mysql -version 
    

    Mysql server version : There are many ways to find

    1. SELECT version();

    1. SHOW VARIABLES LIKE "%version%";

    1. mysqld --version

提交回复
热议问题