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 
 
PGSQL Support

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development
View previous topic :: View next topic  
Author Message
redils



Joined: 13 Jan 2005
Posts: 27

PostPosted: Thu Jan 13, 2005 16:32    Post subject: PGSQL Support Reply with quote

I wrote a patch for using PostgreSQL Database instead of MySQL. It's available on the vault.
Here the link : http://nwvault.ign.com/Files/other/data/1103224637000.shtml
Back to top
View user's profile Send private message
talon0720



Joined: 04 Jun 2007
Posts: 2

PostPosted: Thu Jun 07, 2007 6:20    Post subject: Okay, I got it compiling and it seems to be running, Reply with quote

but what is the basic syntax for accessing the db? I also get an error that it can't connect to the MySQL database. I added a [MYSQL] disabled=y section to the nwnx2.ini file, but that doesn't seem to help.
Back to top
View user's profile Send private message
elven



Joined: 28 Jul 2006
Posts: 259
Location: Germany

PostPosted: Mon Jul 09, 2007 8:54    Post subject: Reply with quote

If you change the confKey in the source code you get to use mysql and postgresql at the same time; which is rather nice if you plan to migrate. I did that, and it works like a charm.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Linux development 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