SA-MP Forums Archive
MySQL problem - 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: MySQL problem (/showthread.php?tid=494014)



MySQL problem - BuggedPlayer - 11.02.2014

Hi, when i connect don't apper dialogs. This is MySQL Log

Код:
[10:03:58] [ERROR] "mysql_tquery" - invalid connection handle (ID = 0)
[10:04:00] [ERROR] "mysql_query" - invalid connection handle (ID = 0)
My connection
pawn Код:
mysql_connect("localhost", "root", "w3op", ""):
If you need see anothers codes post her and i show.


Re: MySQL problem - newbienoob - 11.02.2014

new mysql;
mysql = mysql_connect(....);
mysql_tquery(mysql, query, "callback", "i", playerid);