01.01.2018, 04:51
The code I added is non mysql related the easy-mysql include prints out the success/fail messages
ongminit
Код:
#define SQL_Warning(%0) (printf("[MYSQL] - WARNING: " %0)) #define SQL_Error(%0) (printf("[MYSQL] - ERROR: " %0)) #define SQL_Notice(%0) (printf("[MYSQL] - NOTICE: " %0))
Код:
#define mysql_host "localhost" #define mysql_user "test1" #define mysql_db "release" #define mysql_pass "test123" #define mysql_debugging_enabled (true) #define SQL_PLAYERS_TABLE "Users"
Код:
SQL::Connect(mysql_host, mysql_user, mysql_pass, mysql_db);