EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::GeorgeS's Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=674)
-   -   Tools unable to deal with underscore in db.ini (https://www.eqemulator.org/forums/showthread.php?t=33053)

c0ncrete 02-13-2011 07:00 PM

Tools unable to deal with underscore in db.ini
 
I've got a mirror of my "live" emulator schema named peq_test. Even though this is a valid name in MySQL, neither the tradeskill_recipes nor npc_loot_edit tools can process the underscore in the database entry, apparently. All I got was a rather generic message saying they failed to connect to the database in both cases. The only was I was able to sort it out was to use the name of the schema without the underscore.

Just a heads up. Thanks for your contributions to the community!

GeorgeS 02-14-2011 09:09 PM

I'll have a look at this. Not sure why an underscore fails.
If you can, paste your db.ini here so I can take a look.
Georges

c0ncrete 02-14-2011 11:36 PM

I'm connecting to a remote Ubuntu box via OpenVPN. This is how it looked when it failed:

Code:

host=10.0.0.1
user=***
password=***
database=redemption_test
everquest_folder=D:\EQ
quest_folder=C:\EQEmu\Quests

//everquest_folder this is for SPELL LIST SOURCING FROM SPELLS_US.TXT!! -- NEEDED IF YOU MAKE CUSTOM SPELLS
//for example - everquest_folder=c:\everquest

This works fine though:
Code:

host=10.0.0.1
user=***
password=***
database=redemption
everquest_folder=D:\EQ
quest_folder=C:\EQEmu\Quests

//everquest_folder this is for SPELL LIST SOURCING FROM SPELLS_US.TXT!! -- NEEDED IF YOU MAKE CUSTOM SPELLS
//for example - everquest_folder=c:\everquest

I've tried escaping the underscore and wrapping the value for database in quotes with no luck. Needless to say, the database with _test in the name is data that isn't actually being used, it's there to test utilities and such before I implement them in a live environment.


All times are GMT -4. The time now is 03:51 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.