ClientVersion/ClientVer property

Previous  Top  Next

See Also Properties Methods Events Example
Unit
MySQLServer

Applies to
TMySQLServer component

Declaration
property ClientVersion: string;
property ClientVer: integer;

Description
Read-only
The version of the client library used. ClientVersion gives the version in full text, ex "4.0.18-Alpha", while ClientVer gives it as an integer for easy coding, ex. "40018". Thus you can easily code something like:

...
   if MySQLServer1.ClientVer>=40000
 then
      // MySQL library 4 specific code

   else
      // MySQL library 3 specific code

...