how do i check my mysql version code example
Example 1: mysql version
# console
mysql --version
mysql -V
# sql query
SHOW VARIABLES LIKE ‘%version%’;
Example 2: mysql version
mysqld --version
# console
mysql --version
mysql -V
# sql query
SHOW VARIABLES LIKE ‘%version%’;
mysqld --version