Interested in improving this site? Please check the To Do page.

Back to MySQL Verbs

mysql.getClientVersion

Get MySQL client version in numerical form.

Syntax

mysql.getClientVersion()

Params

None

Returns

An integer containing the version of the MySQL client

Examples

dialog.alert("Client version: " + mysql.getClientVersion())
	 ยป Client version: 50037

Notes

Returns an integer that represents the client library version. The value has the format XYYZZ where X is the major version, YY is the release level, and ZZ is the version number within the release level. For example, a value of 50037 represents a client library version of 5.0.37.

See Also


Personal Tools