#include <my_global.h>
#include <mysql.h>
int main(int argc, char **argv)
{
MYSQL *conn;
MYSQL_RES *result;
MYSQL_ROW row;
int num_fields;
int i;
conn = mysql_init(NULL);
if(!mysql_real_connect(conn, "localhost", "root", "030501063", "trafic", 0, NULL, 0)){
printf("cannot connect");
}
else{
mysql_query(conn, "INSERT INTO data VALUES ('3','testInput')");
}
mysql_close(conn);
}