You can check for your version of MySQL on the command line with the following:
# mysql –version
# 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.
Display version information and exit.