what's my mysql version code example
Example 1: mysql version
# console
mysql --version
mysql -V
# sql query
SHOW VARIABLES LIKE ‘%version%’;
Example 2: what is my mysql version
Mysql version
mysql -V
Example 3: mysql version
mysqld --version