Errors, MySql_DeBug
#1

C:\Documents and Settings\Administrator\Desktop\pawno on Pc12\New folder (2)\gamemodes\NGRP_main.pwn(3673) :error 017: undefined symbol "mysql_debug"

Quote:

mysql_debug(iValue);
MainPipeline = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
setproperty(.name = "pipeline", .value = MainPipeline);

C:\Documents and Settings\Administrator\Desktop\pawno on Pc12\New folder (2)\gamemodes\NGRP_main.pwn(3679) : error 017: undefined symbol "mysql_ping"

Quote:
if(mysql_ping(MainPipeline) == -1)
{
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.");
SendRconCommand("exit");
}
else
{
print("[MySQL] (MainPipeline) Connection successful toward MySQL Database Server!");
}
C:\Documents and Settings\Administrator\Desktop\pawno on Pc12\New folder (2)\gamemodes\NGRP_main.pwn(3723) : warning 203: symbol is never used: "connectionHandle"
C:\Documents and Settings\Administrator\Desktop\pawno on Pc12\New folder (2)\gamemodes\NGRP_main.pwn(3723) : warning 203: symbol is never used: "unEscapedString"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#2

Lawl, i have same errors..
waiting for answer
Reply
#3

mysql_debug was removed in the MySQL plugin R21+ so you will have to rely on mysql_log.txt. For the other errors please paste your lines wrapped in pawn tags (but leave the fields blank that contains your database information if that is included in one of the lines).
Reply
#4

Should be connectionHandle = mysql_connect(blah blah blah).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)