View previous topic :: View next topic |
Author |
Message |
Hunter
Joined: 31 Jan 2007 Posts: 7
|
Posted: Mon Feb 05, 2007 8:52 Post subject: What am I missing here? |
|
|
* 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 |
|
|
Grumalg
Joined: 04 Nov 2005 Posts: 70
|
Posted: Mon Feb 05, 2007 10:19 Post subject: |
|
|
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 |
|
|
Hunter
Joined: 31 Jan 2007 Posts: 7
|
Posted: Mon Feb 05, 2007 10:52 Post subject: |
|
|
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 |
|
|
Grumalg
Joined: 04 Nov 2005 Posts: 70
|
Posted: Mon Feb 05, 2007 13:13 Post subject: |
|
|
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 |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Tue Feb 06, 2007 0:19 Post subject: |
|
|
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 .
Don't tell anyone... _________________ Papillon |
|
Back to top |
|
|
|