Specifies MySQL server version as an integer. Syntax: property ServerVersion: integer; Description: Use ServerVersion to get server version as an integer. ServerVersion is represented as XYYZZ, where X is the major version, YY is the release level leftpadded with zero, and ZZ is the version number within release series leftpadded with zero. For example, 5.0.22 becomes 50022, 4.1.9 becomes 40109 and so on. Using this property you can just compare servers versions as integers if you need to determine which version is higher. ServerVersion is equal to -1 if the TMySQLDatabase component is not connected and equal to 0 if the version string can't be successfully parsed. See also: GetServerInfo method |