04.10.2018, 00:22
Quote:
try to do like this
#define SQL_HOST "127.0.0.1" #define SQL_USER "root" #define SQL_PASS "admin" #define SQL_DB "tw_server"// public OnGameModeInit() { profileStuff(); connection = mysql_init(LOG_ONLY_ERRORS, 1); mysql_connect("127.0.0.1", "root", "admin", "tw_server", connection, 1); } but make sure that u have change local host pass to admin |