10.04.2019, 04:08
Code:
public OnGameModeInit() { if(mysql_connect(SQL_HOST, SQL_USER, SQL_PASSWORD, SQL_DATABASE, sqlConnection, 1)) { printf("[DATABASE]: Connection failed to the database '%s'.", SQL_DATABASE); } else { printf ("[MYSQL]: Connection established to database '%s'.", SQL_DATABASE); } mysql_log(ERROR | WARNING); return true; }
new MySQLqlConnection
4 errors on one line:
Code:
if(mysql_connect(SQL_HOST, SQL_USER, SQL_PASSWORD, SQL_DATABASE, sqlConnection, 1))
expression has no effect
The fucks going on?