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 
 
Database access within a plugin

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



Joined: 06 Sep 2005
Posts: 1

PostPosted: Tue Sep 06, 2005 5:06    Post subject: Database access within a plugin Reply with quote

Hello.

I'm writing my own plugin (for Linux), and I was wondering if there is a way to utilize the shared MySQL connection from the ODBC plugin, instead of having to manually go about and create my own connection and manually parse the nwnx2.ini file for DB login/password info. I noticed that the nwnx_speech plugin creates its own connection and parses the ini file manually but that seems to be a kludge.

Thanks.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Sep 06, 2005 12:29    Post subject: Reply with quote

At least in Windows (and I guess it is the same in the Linux version), the database connection can not be used by other plugins. This is something I just never managed to implement...
_________________
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 -> 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