Crashing connection? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Crashing connection? (
/showthread.php?tid=254934)
Crashing connection? -
*IsBack - 13.05.2011
Hi,
I got a script with mysql database, everything works, but sometimes it suddenly gives me this:
Quote:
[19:38:13] >> mysql_query( Connection handle: 1 )
[19:38:13] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
|
Does that mean that one of my queries made connection to "die"? Or it just randomly disconnected and I need to reconnect to database from time to time?
Re: Crashing connection? -
*IsBack - 13.05.2011
cmon.. this is simple question..