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.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Mar | ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |
One Response
Omid
May 10th, 2010 at 4:15 pm
1That’s not entirely correct.
“mysql –version” or “mysql -V” show the version of the MySQL CLIENT and NOT the SERVER.
To see the server version, after you have logged in to the MySQL, you can run the following SQL:
SHOW VARIABLES LIKE “%version%”;
RSS feed for comments on this post · TrackBack URI
Leave a reply