MySQL R7 Connection lost?
#1

I've posted this in the mysql plugin topic, but I didn't get any help there.
Quote:

[13 16:14:18]Error id 2013: Lost connection to MySQL server during query('SELECT 1 FROM `Account` WHERE `Xp`>0 AND `IP`='SOME_IP_HERE'')

I get a few of these errors everyday.
In R6, I could fix it using this:
pawn Code:

public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
if(errorid==CR_SERVER_LOST) mysql_query(query);
}

But now, in R7, I can't, because there are additional parameters, that I can't get with this callback(like playerid).
Any ideas on how to fix this?

Note: I have mutex disabled, because I think it caused some random crashes earlier.
Note2: I connect to mysql using the external IP, not 127.0.0.1. That way, I can test my gamemode on my local pc.

Reply


Messages In This Thread
MySQL R7 Connection lost? - by wups - 24.08.2012, 17:34
Re: MySQL R7 Connection lost? - by wups - 25.08.2012, 10:54
Respuesta: MySQL R7 Connection lost? - by [DOG]irinel1996 - 25.08.2012, 11:19
Re: Respuesta: MySQL R7 Connection lost? - by wups - 25.08.2012, 11:23
Respuesta: Re: Respuesta: MySQL R7 Connection lost? - by [DOG]irinel1996 - 25.08.2012, 11:26

Forum Jump:


Users browsing this thread: 2 Guest(s)