MySQL - check version from command line

7 points
Created by:

In this short article we would like to show how to check MySQL version using command line.

Quick solution (run following command): 

mysql -V

Example output:

mysql  Ver 15.1 Distrib 10.3.24-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

Where 10.3.24-MariaDB is MySQL client version.

Note: mysql --version is equivalent to mysql -V.

Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

MySQL - Problems

MySQL - check version from command line
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂