tags:

views:

139

answers:

3

What's the query syntax to determine the exact version number of the MySQL server software?

+5  A: 

You can use SHOW VARIABLES:

SHOW VARIABLES WHERE Variable_name = 'version';

Greg
+1  A: 

select version();

Gennady Shumakher
This also works very nicely. Thanks!
Tom Juergens
A: 

Command line:

mysql --version
Pawka