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 does not answer

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
Mr-XXS



Joined: 14 Jan 2005
Posts: 8

PostPosted: Fri Jan 14, 2005 23:12    Post subject: MySQL does not answer Reply with quote

I have some problemes with NwnX and the odbc plugin. The connection with the mysql database works fine, when the serveur send requests, their are executed, but when i need a response, as in a SELECT request, there is no response.
In the logs, i could'nt found any errors, and all the "Got request:" are correctly printed but no "Sent response" can be found, even for the SELECT request.

What do you think of that ? Have i to upgrade MySQL to the latest version ? Or anything else ?
Back to top
View user's profile Send private message
Liberty Valance



Joined: 06 Jan 2005
Posts: 21
Location: A Persistent World West2

PostPosted: Sat Jan 15, 2005 0:05    Post subject: Reply with quote

well first off, try using the direct mysql plugin rather than odbc. that notwithstanding, do you know if ODBC has successfully established a connection to mysql? could an erroneous username or password have been input into ODBC, therefore preventing it from connecting (although NWNX connects successfully to ODBC, thus no errors? not sure if you'd get errors in this circumstance)... just a few random thoughts while i'm at work Smile
_________________
A Persistent World West2 | APWW2 Forums
Wirehead Studios
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mr-XXS



Joined: 14 Jan 2005
Posts: 8

PostPosted: Sat Jan 15, 2005 0:15    Post subject: Reply with quote

In fact, i have 2 servers on the same computer, each using a nwnx connected to the same modules, and the same database (i have only one installation, so i couldn't separate the settings).
Few minutes ago, i found that for one server, there is some responses from the odbc module, and for the other, no response ... should i use only one nwnx at the same time ? or perhaps is it impossible to connect two odbc plugins at the same time ?
I will try with the MySQL module.
Back to top
View user's profile Send private message
Manuel



Joined: 30 Dec 2004
Posts: 51

PostPosted: Sat Jan 15, 2005 0:56    Post subject: Reply with quote

Have a look here: http://www.nwnx.org/phpBB2/viewtopic.php?t=26
_________________
I only know enough to be dangerous.
Back to top
View user's profile Send private message
Mr-XXS



Joined: 14 Jan 2005
Posts: 8

PostPosted: Sat Jan 15, 2005 2:44    Post subject: Reply with quote

Huhu, in fact, I've forgotten to call the function SQLInit in my scripts Mr. Green ... Yes, shame on me Embarassed
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related 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