/* * file : tests/basic/driver.c * copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC * license : GPLv2 with FOSS License Exception; see accompanying COPYING file */ #include #include int main () { if (mysql_library_init (0, NULL, NULL)) { fprintf (stderr, "failed to initialize\n"); return 1; } printf ("libmysqlclient version: %s\n", mysql_get_client_info ()); mysql_library_end (); return 0; }