====== mysql_get_client_version ====== unsigned long mysql_get_client_version(void) ==== description of mysql_get_client_version ==== mysql_get_client_version returns the current version of your mysql client usualy returns the number in the following format XXYYZZ XX mainversion YY release level ZZ current version number compile with gcc mysql_get_client_version.c -o mysql_get_client_version `mysql_config –cflags –libs` -Wall #include /* including standard library */ #include int main( void ) { printf("client version: %li\n", mysql_get_client_version()); return 0; } ===== output of mysql_get_client_version c example ===== client version: 50529