13.04.2014, 06:34
(
Последний раз редактировалось ShinichiKudou; 13.04.2014 в 07:05.
)
Код:
./mysql.pwn(194) : warning 213: tag mismatch ./mysql.pwn(194) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
pawn Код:
mysql_log(SQL_DEBUG, SQL_DEBUGLOG); //194
MainPipeline = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
printf("[MySQL] (Main Pipelines) Connecting to %s...", SQL_HOST);
if(mysql_errno(MainPipeline) != 0)
{
printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s", SQL_HOST, SQL_DB, SQL_USER);
print("[MySQL] Note: Make sure that you have provided the correct connection credentials.");
printf("[MySQL] Error number: %d", mysql_errno(MainPipeline));
SendRconCommand("exit");
}
else print("[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!");