Server crash - Mysql
#1

Hello.
I encountered a problem and do not know what to do to him.

code:
Код:
 format( Query, sizeof( Query ), "SELECT `UserID` FROM `Accounts` WHERE `Username` = '%s'", EscapedName );
    mysql_query( Query );
    printf(" SQL: %s",Query);
    mysql_store_result();
server log:
Код:
[15:17:09] MySQL Error (0): Could not execute query. MySQL server has gone away.
[15:17:09]  SQL: SELECT `UserID` FROM `Accounts` WHERE `Username` = 'Chase'
[15:17:09] MySQL Error (0): Function: 'mysql_store_result' called when no prior query executed.. MySQL server has gone away.
After this error, the server receives the crash.
This problem only occurs on host, on localhost has no problems from what I observed.
(sorry for my bad english).
Reply
#2

Not sure how many times I'll post this but please don't use outdated plugins, just updated plugins.
Reply
#3

I also know a server that uses the same plugin and has no problems.
Another solution would be?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)