You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
453 B
24 lines
453 B
9 years ago
|
/*
|
||
|
* This file is part of MXE.
|
||
|
* See index.html for further information.
|
||
|
*/
|
||
|
|
||
|
#include <mysql.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
(void)argc;
|
||
|
(void)argv;
|
||
|
|
||
|
if (mysql_library_init(0, NULL, NULL)) {
|
||
|
fprintf(stderr, "Could not initialize MySQL library\n");
|
||
|
exit(1);
|
||
|
}
|
||
|
|
||
|
printf("MySQL client library initialized: %s\n", mysql_get_client_info());
|
||
|
mysql_library_end();
|
||
|
|
||
|
return EXIT_SUCCESS;
|
||
|
}
|