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


Messages In This Thread
Server crash - Mysql - by Chase20 - 02.07.2016, 17:53
Re: Server crash - Mysql - by xJayce - 02.07.2016, 18:05
Re: Server crash - Mysql - by Chase20 - 03.07.2016, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)