mysqld --version code example Example: mysql version # console mysql --version mysql -V # sql query SHOW VARIABLES LIKE ‘%version%’;