MySQL R7 Connection lost?
#3

Seems strange, in my opinion SQL syntax is OK.
Also, give a try with this:
pawn Код:
new query[128];
mysql_format(connection,query,"SELECT * FROM Account WHERE Xp > 0 AND IP='%s'",ip);
mysql_function_query(connection,query,false,"","");
Following your way to fix it in R6, in R7 is possible to make something very similar using threaded scripts I think, calling OnQueryFinish, or OnQueryError.

Try replace your public IP by localhost, to see if there is any changes.
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: 1 Guest(s)