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 
 
Installation Troubles

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support
View previous topic :: View next topic  
Author Message
tinygiant



Joined: 17 Feb 2007
Posts: 3

PostPosted: Sat Feb 17, 2007 20:21    Post subject: Installation Troubles Reply with quote

Hello all,

Having a problem getting NWNx4 to work at all. I've set everything up (with MySQL) according to the instructions provided. However, it will not register the MySQL.dll plugin.

Here is my MySQL.ini file:
Code:
# The function class that is provided by this plugin
class = SQL

# MySQL server connection parameters
server   = localhost
user     = ********
password = ********
schema   = fallingwaters

# How much information should be written to xp_mysql.txt:
# 0=nothing, 1=only errors, 2=everything
loglevel = 2


I have a service called mysql-nt.exe running at startup. Here's the log file that's create when I run NWNX4 (xp_mysql.txt):
Code:
NWNX MySQL Plugin V.0.0.7
(c) 2007 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org
(built using mysql-5.0.27 source)

* Log level set to 2 (everything)
* Connecting to server localhost
* Connection to MySQL server failed:
  Access denied for user 'tinygiant'@'localhost' (using password: YES)
* Plugin unloaded.


And here's the nwnx.txt file:
Code:
NWN Extender 4 V.0.0.7
(c) 2007 by Ingmar Stieger (Papillon)
visit us at http://www.nwnx.org

* 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 not specified.
* Function class 'SQL' not provided by any plugin. Check your installation.
* NWNX4 shutting down...
* NWNX4 shutdown successfull.


I have the madCHook.dll file and xp_mysql.dll file in my NWN2 directory.
Any help would be greatly appreciated.

Thanks again!
..ed..
Back to top
View user's profile Send private message
tinygiant



Joined: 17 Feb 2007
Posts: 3

PostPosted: Sun Feb 18, 2007 8:00    Post subject: Reply with quote

As with most problems, as soon as I posted it on the forums, I figured out the answer. Turns out my MySQL instance was not looking for the user name I provided, but instead was looking for "root." Once I input that into the ini file, it worked as advertised. At least the db connection did. Haven't tried anything else yet, but have high hopes based on all I've read. Thanks for all the work everyone's put into this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Technical support 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