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 
 
What am I missing here?

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



Joined: 31 Jan 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 8:52    Post subject: What am I missing here? Reply with quote

* Loading plugins...
* Loading plugin xp_mysql.dll: Error during plugin initialization.
* Loading plugin xp_time.dll: Successfully registered as class: TIME
* Disabling general protection fault error dialog.
* NWNX4 activated.
* Function class 'SQL' not provided by any plugin. Check your installation.
Back to top
View user's profile Send private message
Grumalg



Joined: 04 Nov 2005
Posts: 70

PostPosted: Mon Feb 05, 2007 10:19    Post subject: Reply with quote

In the xp_mysql.ini file you will see a line that reads :

class = SQLoff

Change it to:

class = SQL

It appears this is a leftover from debug testing...

--- Grumalg ---
Back to top
View user's profile Send private message
Hunter



Joined: 31 Jan 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 10:52    Post subject: Reply with quote

Ive changed the above setting to sql and i still get the above error. and im also getting this here

* Log level set to 2 (everything)
* Connecting to server localhost
* Connection to MySQL server failed:
Unknown database 'nwn2'
Back to top
View user's profile Send private message
Grumalg



Joined: 04 Nov 2005
Posts: 70

PostPosted: Mon Feb 05, 2007 13:13    Post subject: Reply with quote

That error message is telling you you haven't created a 'nwn2' database yet, so you can't connect to it. Since you don't seem too familiar with MySQL, you will probably find this easiest to do with the MySQL Administrator application. The MySQL Administrator is one of the tools contained in 'mysql-gui-tools' download which is seperate from the DB engine download and a seperate install.

With the MySQL Administrator running and logged in you need only select 'Catalogs' and then right click in the catalof list that will appear to get a context menu and select 'Create New Schema' to create a new database such as 'nwn2'.

<edit added> take heart though, getting an unknown database message means the plugin was actually able to talk to the DB engine as it was the DB engine that told the plugin it couldn't find the database.


--- Grumalg ---
Back to top
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Tue Feb 06, 2007 0:19    Post subject: Reply with quote

Grumalg wrote:

It appears this is a leftover from debug testing...


No, it's an exquisitely crafted, super-secure test to find out how much worth the comments in the INI files are Cool.

Don't tell anyone...
_________________
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