current mysql version code example
Example 1: mysql version
# console
mysql --version
mysql -V
# sql query
SHOW VARIABLES LIKE ‘%version%’;
Example 2: how to get current mysql version
SELECT VERSION ();
Example 3: what is my mysql version
Mysql version
mysql -V
Example 4: mysql version
mysqld --version
Example 5: what is mysql?
MySQL is an open source DBMS which is built, supported and distributed by MySQL(ORACLE).