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 
 
Non-DSN connection

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



Joined: 19 Mar 2009
Posts: 13
Location: UK

PostPosted: Thu Mar 19, 2009 15:47    Post subject: Non-DSN connection Reply with quote

Can anyone tell me if any work has been done to allow NWNX to connect to a database without using a DSN ? - DSNs add something of an overhead and are ancient technology of course so keen to move along. Interested to have a look myself at some point but wondered if anyone else had been here before.
_________________
Chris
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Thu Mar 19, 2009 23:32    Post subject: Reply with quote

I think the direct MySQL functionality is what you're looking for?
_________________
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
View user's profile Send private message Visit poster's website
RamaDeveloper



Joined: 19 Mar 2009
Posts: 13
Location: UK

PostPosted: Fri Mar 20, 2009 0:02    Post subject: Reply with quote

Sorry, should have said... 'for SQLServer', ta though.
_________________
Chris
Back to top
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Fri Mar 20, 2009 7:11    Post subject: Reply with quote

Yep,
MySQL plugin has a 'direct' option,
as does the SQLServer one (2005 and 2008 native clients)
Back to top
View user's profile Send private message
RamaDeveloper



Joined: 19 Mar 2009
Posts: 13
Location: UK

PostPosted: Fri Mar 20, 2009 10:21    Post subject: Reply with quote

Splendid, thanks - there's something to play with at the weekend then, am moving my DB over to 2008 at the moment.
_________________
Chris
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sat Mar 21, 2009 21:26    Post subject: Reply with quote

BTW, you posted this in the NWNX2 (for NWN1) forum. The NWN1 plugin only supports ODBC or direct MySQL, which is why I answered how I did. Posting in the right forum will tend to get you more helpful answers. Wink
_________________
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
View user's profile Send private message Visit poster's website
RamaDeveloper



Joined: 19 Mar 2009
Posts: 13
Location: UK

PostPosted: Fri Mar 27, 2009 3:58    Post subject: Reply with quote

Zebranky wrote:
BTW, you posted this in the NWNX2 (for NWN1) forum. The NWN1 plugin only supports ODBC or direct MySQL, which is why I answered how I did. Posting in the right forum will tend to get you more helpful answers. Wink

I'm using NWNX2 for NWN1 with a SQL2008 database so I gues that means DSNs are the best I can do (and that I asked in the right place and as you suggest, got a helpful answer - thanks !)
_________________
Chris
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Fri Mar 27, 2009 16:08    Post subject: Reply with quote

I guess that works too! (This is where I try to convince you to use MySQL, because direct MySQL is better than ODBC Razz)
_________________
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
View user's profile Send private message Visit poster's website
Gryphyn



Joined: 20 Jan 2005
Posts: 431

PostPosted: Fri Mar 27, 2009 23:10    Post subject: Reply with quote

Zebranky wrote:
I guess that works too! (This is where I try to convince you to use MySQL, because direct MySQL is better than ODBC Razz)

This is where SQLServer kicks in.
The SQLServer Native client is NOT ODBC, however many of the function calls are based on the ODBC function descriptions. (pseudo documentation for the SQLServer plugin)
For a Free database (Express version) the tools provided to manage the database are, by far, easier for the novice - and the amount of help available on the web greater.
Since MySQL went commercial - there has been little extra in the way of community support (or improvements)
Back to top
View user's profile Send private message
RamaDeveloper



Joined: 19 Mar 2009
Posts: 13
Location: UK

PostPosted: Sat Mar 28, 2009 4:21    Post subject: Reply with quote

Zebranky wrote:
I guess that works too! (This is where I try to convince you to use MySQL, because direct MySQL is better than ODBC Razz)

Naa, I get paid to do SQL and need to run SQL boxes at home for commercial stuff anyway so makes no sense for me to run another DMBS even if the support for NWN is better, it's free for me as I'm an MSDN subscriber and anything new I learn feeds back into my work and vice-versa so it's something of a no-brainer for me :^)
_________________
Chris
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows 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