{{keywords>wiki library source code example reference}} ===== mysql_get_client_info ===== const char *mysql_get_client_info(void) Returns the mysql client library version ===== C Sourcecode Example ===== compile with gcc mysql_get_client_info.c -o mysql_get_client_info **`mysql_config --cflags --libs`** -Wall #include /* including standard library */ //#include /* uncomment this for Windows */ #include int main( void ) { printf("version: %s\n", mysql_get_client_info()); return 0; } ==== output ==== user@host:~$ ./mysql-get_client_info version: 5.1.54