EN
MySQL - check version from command line
7
points
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 tomysql -V
.