View previous topic :: View next topic |
Author |
Message |
QuintellaRosa
Joined: 07 Jun 2009 Posts: 4
|
Posted: Mon Jun 22, 2009 20:08 Post subject: Is "nwnx" a MUST name for the database? And table |
|
|
I'm just starting using NWNX, mainly for the MySQL possibility. What I have to know is: may I name my database another name instead of nwnx, like "MyNWNdB", for instance? Do I have to create a table to hold any special values for NWNX itself?
Thanks! |
|
Back to top |
|
|
FunkySwerve
Joined: 02 Jun 2005 Posts: 377
|
Posted: Tue Jun 23, 2009 4:38 Post subject: |
|
|
You can name your database whatever you like with MySQL. The tables you need depend entirely on what you want to do, and you can name them whatever you like, as well. If you're planning to use the nwnx default functions in aps_include, though, you'll want to use the aps_demo module to create the default tables that go with them, with their particular names and columns. You can still name your database whatever you like, in that case, too. The database name is specified in the ini.
Funky |
|
Back to top |
|
|
Fireboar
Joined: 17 Feb 2008 Posts: 323
|
Posted: Thu Jun 25, 2009 21:55 Post subject: |
|
|
If you're going to use the SQLExecDirect function, you can name your tables absolutely anything at all. This function is recommended for users who have a proper understanding of SQL syntax, these users can make use of relations, large data sets and more. Basic users who are used to using SetPersistent functions should go with Funky's advice and run the aps_demo module. You can then use the APS equivalent functions to perform the same operations as the bioware versions, with less latency. Basically, if you're going to use the APS persistent functions, run aps_demo. If you've got your own database structure in mind and are going to be exclusively be using SQLExecDirect, SQLFetch, SQLGetData, SQLEncodeSpecialChars, SQLDecodeSpecialChars and/or any other functions of your own invention related to database management, there's no need to bother. |
|
Back to top |
|
|
|
|
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
|