You can check for your version of MySQL on the command line with the following:

# mysql –version
or
# mysql -V

I tried to search checking mysql version on the command line a couple times without success, so it’s going down here. The smart person would of course just read the mysql man page.

–version, -V
Display version information and exit.