Name
mysql_get_client_version()
Synopsis
unsigned long *mysql_get_client_version(void)
This function returns the client library version in a numeric
format. For example, for version 4.1.7, the function will return
40107. Here is an example:
...
unsigned long version;
version = mysql_get_client_version( );
printf("Client Version: %d \n", version);
...