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).
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).