View previous topic :: View next topic |
Author |
Message |
marshallvyper
Joined: 18 Oct 2012 Posts: 5
|
Posted: Wed Jan 30, 2013 20:10 Post subject: mySQL Non Standard TCP Port |
|
|
Can someone tell me the option to use in xp_mysql.ini to tell it to use a port other than 3306. Is there a "port" option or do I just add :<port> onto the end of the IP?
Thanks
M |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Jan 30, 2013 21:35 Post subject: |
|
|
Yes, use the port config option. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
marshallvyper
Joined: 18 Oct 2012 Posts: 5
|
Posted: Wed Jan 30, 2013 21:56 Post subject: |
|
|
Hmm, I tried using the port = option and it didn't make any difference. Next, I tried having the database listen on its normal 3306 and set the port = 3307 in the xp_mysql.ini file (expecting it to fail) and it connected just fine. Seems it's ignoring the port = option.
EDIT: Oh and just to clarify, this is NWNX for NWN2.
M. |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
|
Back to top |
|
|
marshallvyper
Joined: 18 Oct 2012 Posts: 5
|
Posted: Wed Jan 30, 2013 22:41 Post subject: |
|
|
Ohh.. that's great! Thanks a lot. Any other features in this version that are different?
Thanks
M |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Jan 30, 2013 22:54 Post subject: |
|
|
XP MySQL and SQLite 1.1.0:
- SQLExec is now a NWNXGetInt function returning 0 on error
- Added GetErrno and GetErrorMessage functions
XP MySQL 1.1.1:
- Added ability to specify "port" option in xp_mysql.ini; this port will be used for connection if provided. _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Wed Jan 30, 2013 23:00 Post subject: |
|
|
I've updated the package linked above with new nwnx_sql.nss _________________ In Soviet Russia, NWN plays you! |
|
Back to top |
|
|
|