Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::GeorgeS's Tools

Development::GeorgeS's Tools A forum just for GeorgeS's tools

Reply
 
Thread Tools Display Modes
  #1  
Old 03-19-2011, 05:59 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Cool item creater...

Edit: I know i spelled creator wrong in topic title.. brain fart or something =P

Ok, I've read just about every post on here regarding the MYSQL Connection FAILED!-Check db.ini and did you install my ODBC drivers? problem..

I have installed the drivers.

I have ran the register_ocx.bat and they all succeeded.

I have tried every combination for host/user/password/database to no avail.

I have uninstalled the drivers, deleted the item creator app, redownloaded both the driver pack and item creator, and tried again.

Running server on this pc, so leaving host as localhost (but i have tried it with my IP)

Now, just to make sure I'm not completely retarded, (which may very well be the case), user = mysql username, password = mysql password, database = same database you specify in eqemu_config? (user and password info are also in there)

My eq folder is the default installation destination (everquest_folder=c:\Program Files\Sony\Everquest)


My db.ini file =

host=localhost
user=root
password=(password)
database=peq
everquest_folder=c:\Program Files\Sony\Everquest


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

Now, unless I'm making a totally nub (I am VERY new to this) mistake, I believe I did everything right. Is there a set path on where I should have my eqitems app or ini file in?

Not sure that it matters at all, but my server is on public server list and works...

What am I doin wrong? =(
Reply With Quote
  #2  
Old 03-19-2011, 07:31 PM
gredesh
Sarnak
 
Join Date: Feb 2006
Posts: 42
Default

Have you rebooted since installing odbc drivers?

Everything looks right. I would try redoing your db.ini settings. Sometimes you make mistakes in typing in the password or something and you'd be amazed at how many times you can glance over it.

Instead of localhost you could try 127.0.0.1
Reply With Quote
  #3  
Old 03-20-2011, 06:40 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Have tried rebooting since reinstallation of EVERYTHING and getting my server back online, as well as the ODBC drivers.. Have tried changing host to 127.0.0.1 and I still get the error...
Reply With Quote
  #4  
Old 03-20-2011, 06:54 PM
gredesh
Sarnak
 
Join Date: Feb 2006
Posts: 42
Default

Try creating a new mysql user with full access and use that.
Reply With Quote
  #5  
Old 03-20-2011, 08:10 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Nope.. not working either. Obviously, the connection test tool fails as well...

Unless I'm missing something stupid, I'll just create/mod items using navicat =\
Reply With Quote
  #6  
Old 03-21-2011, 02:30 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Did you set MySQL to allow remote connection? And did you set a host address for the new account you made for it? If you can test the account you made in Navicat and it works, I think it should work for the editor as well, but been a while since I ran my DB on the same box as my server.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 03-21-2011, 12:01 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Just reconfigured to allow remote connections.. But I'm extremely new to this sorta thing so I'm not entirely sure how to set host addy for new mysql user.. Could I trouble you for help on that one? =P

I actually made the account using command prompt, but went ahead and made another on navicat, both have full privileges and both can access server/db on navicat but I get the same error every time on the item creator... /shrug

Before I forget or let frustration get the best of me.. thank you both for replying =)
Reply With Quote
  #8  
Old 03-21-2011, 11:58 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

What version of the PEQ database are you using?
Do my other tools work? == There is also a connection checking tool- that is db schema agnostic.

Remote connection? - not sure if anyone has this working with the tools.


GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #9  
Old 03-22-2011, 12:42 AM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Hey there GeorgeS, ty for replying =)

I'm using the current DB I believe, 1751. The connection test fails as well. I get the error on the npc loot editor as well, but it loads up. But, once I try load anything, it gives me the error again and closes.

Am I supposed to be unpacking these in any specific location at all? I know setting the server up, I set the zlib directory just in "My Documents", set the directory in right spot on C++ but it still failed.. had to move it to C:\zlib then worked just fine.

I'm probably making 1 small mistake (I've checked db.ini at least 100 times to make sure everything is 100% correct and it is)


copy/pasted

host=localhost
user=item
password=(password)
database=peq
everquest_folder=c:\Program Files\Sony\Everquest

Have tried using an underscore between program and files too, thinkin it couldn't hurt.. certainly didn't hurt but didn't help either =\

edit: have tried from root user as well (both have full privileges)
Reply With Quote
  #10  
Old 03-22-2011, 04:30 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, GeorgeS, they all work remotely just fine. I use them to connect remote on my own LAN, and my other dev connects to them remotely from another location fine as well.

What Operating System are you running, deaddraqear? Maybe that has something to do with it.

I don't have my db.ini available from here, but I think you may need quotes around your EQ folder path like this:

Code:
everquest_folder="c:\Program Files\Sony\Everquest"
Any time a space is in the path, quotes are generally required. Though, I don't think that will effect your DB connection attempts, you would get another error most likely.

Also, have you tried setting the actual IP of your PC as the host vs just setting it to localhost? Not sure if that will make a difference, but should be worth a shot. Probably something like 192.168.1.100.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #11  
Old 03-22-2011, 10:38 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Since the connection checking tool failed, it's not the schema in all likely-hood, but either your connection may be blocked at the firewall, or your user/password is not right.

Have you logged into the database with a database tool like heidisql or something similar?

my login - as it's provided with the tools
Code:
host=localhost
user=eq
password=eq
database=peq_1751
everquest_folder=c:\EverQuest_SOD


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


GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #12  
Old 03-22-2011, 11:57 AM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

I'm running windows xp currently, guess i should have mentioned this earlier =\

I have tried putting my actual IP in, and just tried the quotes around the EQ path just now and still getting failed message. (and just about every other combination I can think of)

I am using navicat lite right now to access/edit DB, but not sure if that is what you mean George, but heidisql can access DB as well

As for the connection being blocked? Iono, currently I'm not using a firewall or a router. Password is the same password I use for everything and 10000% sure its spelled correctly, and the 2 users (use the same pw) are both root and item so..
Reply With Quote
  #13  
Old 03-22-2011, 12:10 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Would it be easier to just get my 2nd comp put back together and run the server on linux and access it that way? =P I plan on doing that eventually anyway.. =P
Reply With Quote
  #14  
Old 03-22-2011, 12:41 PM
deaddraqear
Sarnak
 
Join Date: May 2008
Location: california
Posts: 45
Default

Well, I got rid of the error.. but nothing popping up when I try opening anything. Connection test failing still tho..

In the db.ini, under DB it requires the actual folder name rather then the "set" db (eqemu_config and mysql both have db set to peq rather then actual folder name) if ya get what I mean.
Reply With Quote
  #15  
Old 03-22-2011, 09:47 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

It needs to be set to your database name. If the database you created is named peq (which is what many guides tell you to name it by default), then you would use:

Code:
database=peq
I am not sure what you mean about folder for your database. Folders and databases are 2 completely separate things.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:08 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3