logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
MySQL server has gone away

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
Dracos



Joined: 16 Oct 2006
Posts: 21

PostPosted: Tue Feb 06, 2007 0:38    Post subject: MySQL server has gone away Reply with quote

Today happened something really strange.
xp-mysql log reported at every query "Mysql server has gone away" but the module was up and running and so was the MySQL instance. I noticed that NWN_GUI had restarted the server once (which was running for 35 hours).
My login script couldn't function because the connection DB-module was cut off for real.

What's up? Shocked
Back to top
View user's profile Send private message MSN Messenger
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Feb 06, 2007 0:41    Post subject: Reply with quote

A quick search brings up the following:

http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

Does that help ?
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dracos



Joined: 16 Oct 2006
Posts: 21

PostPosted: Tue Feb 06, 2007 17:49    Post subject: Reply with quote

DAMN YES! THANKS Papillon!!! Very Happy
Back to top
View user's profile Send private message MSN Messenger
Larnak



Joined: 25 Sep 2006
Posts: 7
Location: Southern California

PostPosted: Sun Feb 11, 2007 18:17    Post subject: Reply with quote

I was having this issue as well when I first implemented NWNX4 on the server. It would just stop pulling the data after a period of inactivity, so I figured it was a timeout issue.

Not being very familiar with MySQL and not being patient enough to solve it on the MySQL side, I just wote a function in the module heartbeat script that pulls and updates a number every minute.

This gave me two things: 1. It kept the server connection alive, and 2. it gave me a rough count in minutes of how long the server has been up.

I guess I will look at the MySQL side of things as well now that I have a link to read. Wink
_________________
Adventures in the Shining South PW
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group