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



Unstable MySQL server? - Danny - 17.07.2011

Hi,

I've made a factionsystem, but it won't load the factions correctly ...

For example, i've created 3 factions. But only ID 1 and 2 are loading correctly. ID 3 isn't loaded at all.
This doesn't always happen in this order, sometimes 1 and 3 are loaded, 2 and 3 ect.

So, i looked in the mysql_log. It shows me 'Connection-dead' errors. After a few miliseconds, the server will reconnect.

I don't know why its so unstable. Can i fix this?

Greetz,
Danny


Re: Unstable MySQL server? - MadeMan - 17.07.2011

Use callbacks when making queries.