Name

VERSION()

Synopsis

VERSION()

This function returns the MySQL server version. There are no arguments for the function. Here is an example:

SELECT VERSION( );

+-------------+
| VERSION( )  |
+-------------+
| 5.1.16-beta | 
+-------------+

Get MySQL in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.