What version of MySQL is running?

On a CentOS 6.x linux box, typing the following will show the MySQL version

mysql -v

or if not the root user, then

mysql -u root -p -v (Which says user the root user, prompt for the password, then get the version).

Written on February 28, 2014