User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:mysql:mysql.h:mysql_get_client_version
click
to support this page (eg 0,42 € or so) Thanks.

mysql_get_client_version

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 <stdio.h> /* including standard library */
#include <mysql/mysql.h>
 
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
advertising
c/mysql/mysql.h/mysql_get_client_version.txt · Last modified: 2013/02/26 14:38 by 158.181.88.241

Impressum