Tag Mismatch - MySQL_Connect - 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: Tag Mismatch - MySQL_Connect (
/showthread.php?tid=610669)
Tag Mismatch - MySQL_Connect -
Dokins - 26.06.2016
pawn Код:
dbHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DATABASE, SQL_PASS, true, 0);
No idea why this is causing a tag mismatch, I'm trying to remove the pooling as apparently it can cause issues.
pawn Код:
#define SQL_HOST "94.23.60.117"
#define SQL_DATABASE "SAMP_1361"
#define SQL_USER "SAMP_1361
Re: Tag Mismatch - MySQL_Connect -
iGetty - 26.06.2016
pawn Код:
dbHandle = mysql_connect(SQL_HOST, SQL_USER, SQL_DATABASE, SQL_PASS, .pool_size = 0);
Try this.
Re: Tag Mismatch - MySQL_Connect -
Dokins - 26.06.2016
Works, thank you.
Re: Tag Mismatch - MySQL_Connect -
iGetty - 26.06.2016
All good. Remove your passwords man.