SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 02/07/2016, 05:53 PM   #1
Chase20
Little Clucker
 
Join Date: Jul 2015
Posts: 10
Reputation: 0
Default Server crash - Mysql

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

code:
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:
Code:
[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).
Chase20 is offline   Reply With Quote
Old 02/07/2016, 06:05 PM   #2
xJayce
Little Clucker
 
Join Date: Jul 2016
Location: A mango
Posts: 7
Reputation: 2
Default Re: Server crash - Mysql

Not sure how many times I'll post this but please don't use outdated plugins, just updated plugins.
xJayce is offline   Reply With Quote
Old 03/07/2016, 08:03 PM   #3
Chase20
Little Clucker
 
Join Date: Jul 2015
Posts: 10
Reputation: 0
Default Re: Server crash - Mysql

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server crash - Mysql Chase20 Scripting Help 0 02/07/2016 12:32 PM
Server Crash + MySql andreistalker Scripting Help 3 09/08/2015 08:22 AM
MySQL Problem - Server crash GTA:SA Server Support 2 03/01/2015 07:45 AM
MySQL Server Crash Pille_ Scripting Help 5 03/03/2013 09:37 PM
MySQL - Login causes server crash PCheriyan007 Scripting Help 2 10/07/2012 08:25 PM


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.