View previous topic :: View next topic |
Author |
Message |
dzakary
Joined: 30 Apr 2009 Posts: 1
|
Posted: Thu Apr 30, 2009 15:31 Post subject: Error while connecting to database |
|
|
Hi,
I'm having a problem getting connected to the mysql database. I've read through all the other threads regarding this issue and none have resolved my problem.
the log gives the following:-
Logfile maximum size limit is: 1048576 bytes
o Log level: Everything will be logged.
o Using ODBC connection.
o Hooking SCO....hooked at 5d5830
o Hooking RCO....hooked at 5d5710
! Error while connecting to database: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
my NWNX.ini looks like this
"
[NWNX]
ServerPort = 5121
ModuleName = "testworld"
WatchdogProcess = yes
UpdateIntervalProcess = 5
WatchdogGamespy = no
UpdateIntervalGamespy = 20
GamespyRetries = 5
OldGamespyProtocol = no
RestartDelay = 20
; Use these five settings for MySQL connections
source = mysql
server = localhost
user = zak
pwd = dbpw
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 = 2 ; 1=overall statistics, 2=full script callstack
"
I've downloaded the latest version of the files from your website
"nwnx_261.zip - nwnx_odbc2_0924.zip - nwnx_profiler_160.zip - nwnx_hashset_101.zip - "
EDIT: the nwnx.txt also has the following
"
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 hashset is loaded.
* Plugin leto is loaded.
* An error occured during OnCreate of odbc
* Plugin profiler is loaded.
* NWNX2 activated.
"
Any suggestions would be appreciated
thanks |
|
Back to top |
|
|
Zebranky
Joined: 04 Jun 2006 Posts: 415
|
Posted: Thu Apr 30, 2009 16:32 Post subject: |
|
|
You're missing the [ODBC2] line before the nwnx_odbc config block. _________________ Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/
<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.
<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for? |
|
Back to top |
|
|
|