Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
#
# Automatic dependencies code from:
# http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/#tldr
-BINARY_NAME=infovols
+BINARY_NAME=liste_usines
BUILD_TYPE=debug
#BUILD_TYPE=release
LDLIBS=-lmysqlclient
//il faut : libmysqlclient-dev
-//compilation :
+//compilation :
// gcc testsqlc.c -o testsqlc -I/usr/include/mysql -lmysqlclient -L/usr/lib64/mysql
//execution :
MYSQL_ROW row;
MYSQL_RES *result;
- char *server = "";
- char *user = "";
+ char *server = "localhost";
+ char *user = "fraggle";
char *password = "";
- char *database = "";
+ char *database = "bdSociete";
conn = mysql_init(NULL);