SA-MP Forums Archive
Errors, MySql_DeBug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors, MySql_DeBug (/showthread.php?tid=464677)



Errors, MySql_DeBug - Shirley - 18.09.2013

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.


Re: Errors, MySql_DeBug - Shaden - 18.09.2013

Lawl, i have same errors..
waiting for answer


Re: Errors, MySql_DeBug - AphexCCFC - 18.09.2013

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).


Re: Errors, MySql_DeBug - AphexCCFC - 18.09.2013

Should be connectionHandle = mysql_connect(blah blah blah).