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 
 
ODBC plugin fails to load...

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



Joined: 15 Nov 2010
Posts: 14

PostPosted: Sun Jun 12, 2011 4:45    Post subject: ODBC plugin fails to load... Reply with quote

Soooo my plugins loading

Quote:
NWN Extender v2.7.1-dev
LETO plugin registered.
RESETPLUGIN plugin registered.
AREAS plugin registered.
DEFENSES plugin registered.
FUNCS plugin registered.
ERROR: ODBC: OnCreate() failed.
PROFILER plugin registered.
EVENTS plugin registered.
VISIBILITY plugin registered.
STRUCTS plugin registered.
WEAPONS plugin registered.
* NWNX2 activated.
INIT(S): valid ret=0x082041ec
INIT(O): valid ret=0x08203e79


And then my log from my nwnx_odbc.txt

Quote:

NWNX2 ODBC2 version 1.0.0 for Linux.
2005-2006 dumbo (dumbo@nm.ru)
2006-2010 virusman (virusman@virusman.ru)
o Critical Error: Datasource must be MySQL.
o Shutdown.



Relevant information:
mySQL Server version: 5.1.41-3ubuntu12.10

I can access the database via myphpadmin, and log in with the username and password I feed the nwnx.ini file.

hooksoroco=true if it makes any difference.

Anyone have any suggestions where I start my search?
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Sun Jun 12, 2011 8:53    Post subject: Reply with quote

Add this line:
Code:
source=mysql

to the [ODBC2] section of your nwnx2.ini file.
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
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