PDA

View Full Version : db.ini error with tradeskill_recipes.exe


|Furcas|
06-26-2010, 07:26 PM
I have installed your ODBC drivers.
I have run register_OCX.bat from the resources folder in the download.
I sourced in revision 1549, and tradeskill_recipe and tradeskill_recipe_entries are showing up fine in Navicat
I have used your connection checker and it finds my local DB just fine,
and have placed the entries I put in the connection checker the ini.

When I run tradeskill_recipes I still get "Error in Database Connection - Check db.ini".

Any ideas?

GeorgeS
06-27-2010, 12:52 AM
Can you post your db.ini - so I can see if something is odd there?

I'll also check the program when I'm on the development computer.

GeorgeS

|Furcas|
06-27-2010, 02:47 AM
host=127.0.0.1
user=root
password=*******
database=peq
everquest_folder=null
quest_folder=c:\EQEmu\quests

//everquest_folder this is for music during runtime. Leaving this to a dummy folder or Not adding this will not load music
//for example - everquest_folder=null

I have tried host=localhost for the test connection and the ini, but thats a no go. A little confused as to why the test connection is kosher with whats in the ini, but tradeskill_recipes isn't happy.

GeorgeS
06-27-2010, 11:03 AM
The db.ini looks fine as is.

Try register the ocx by removing the /s at the end and see if anything fails.


regsvr32 a.ocx
regsvr32 DXAnimatedGIF.ocx
regsvr32 imagelist.ocx
regsvr32 MSCOMCTL.OCX


also, I looked in the program code, and that error comes from 2 possibilities.

One is this sql fails

SELECT value FROM variables WHERE varname='DBVersion'


or a.ocx fails to register


GeorgeS

|Furcas|
06-27-2010, 11:33 AM
Registered ocx without -s and had the corresponding popups telling me each succeeded.

Still getting the same error message.

I sourced in peq revision 1549. Going to probably drop it and source in an earlier revision today on the off chance it's the DB itself (somehow).