MySQL VERSION() Function

Example

Return the current version of the MySQL database:

SELECT VERSION();
Try it Yourself »

Definition and Usage

The VERSION() function returns the current version of the MySQL database, as a string.

Syntax

VERSION()

Technical Details

Works in: From MySQL 4.0

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.