You can call the mysql_get_server_info() function to return a string that represents the OBServer version, such as 5.6.71.
Syntax
const char *
mysql_get_server_info(MYSQL *mysql)
Return values
A string that represents the OBServer version is returned.
Errors
None.