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 
 
Not opening database

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows technical support
View previous topic :: View next topic  
Author Message
AussieScum



Joined: 01 Jun 2005
Posts: 2

PostPosted: Wed Jun 01, 2005 8:50    Post subject: Not opening database Reply with quote

I have a PW that i try to test before I put up a new build - I can make everything work just fine on my desktop, but database access doesn't work on the laptop.

nwnx.ini looks like:

; NWNX2 configuration file
; These are the default values for NWNX2. Values specified on the command
; line take precedence.

[NWNX]
ServerPort = 5121
ModuleName = "The North"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 5

[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything

; Use these two settings for the SQLite internal database
;source = sqlite
;file = sqlite.db

; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn

; Use these five settings for MySQL connections
source = mysql
server = localhost
user = nwn
pwd = nwn (not the real password in case you're wondering)
db = nwn

; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true

[PROFILER]
MaxLogSize = 512 ; in KByte
LogLevel = 1 ; 1=overall statistics, 2=full script callstack


===================

NWNX.TXT says:

NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org

* Loading plugins...
* Plugin functions is loaded.
* Plugin hashset is loaded.
* An error occured during OnCreate of leto
* An error occured during OnCreate of odbc
* An error occured while loading extension profiler (126: The specified module could not be found. )
* NWNX2 activated.
* NWNX2 shutting down...
* NWNX2 shutdown successfull.

==================
A lot of this in nwnx_odbc.txt:

! Error while connecting to database: [MySQL][ODBC 3.51 Driver]Access denied for user 'ODBC'@'localhost' (using password: NO)


Someone able to tell me what I'm doing wrong? I can't find anything different between the laptop and the desktop and I'm confused.

Thanks
Steve
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Wed Jun 01, 2005 21:09    Post subject: Reply with quote

You have an old nwnx_odbc.dll in your NWN directory. It tries to open an ODBC connection, that seems to be a sure sign.
_________________
Papillon
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows 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