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

03-19-2011, 05:59 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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? =(
|
 |
|
 |

03-19-2011, 07:31 PM
|
Sarnak
|
|
Join Date: Feb 2006
Posts: 42
|
|
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
|

03-20-2011, 06:40 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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...
|

03-20-2011, 06:54 PM
|
Sarnak
|
|
Join Date: Feb 2006
Posts: 42
|
|
Try creating a new mysql user with full access and use that.
|

03-20-2011, 08:10 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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 =\
|

03-21-2011, 02:30 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
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.
|

03-21-2011, 12:01 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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 =)
|

03-21-2011, 11:58 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
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
|
 |
|
 |

03-22-2011, 12:42 AM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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)
|
 |
|
 |

03-22-2011, 04:30 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
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.
|
 |
|
 |

03-22-2011, 10:38 AM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,474
|
|
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
|

03-22-2011, 11:57 AM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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..
|

03-22-2011, 12:10 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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
|

03-22-2011, 12:41 PM
|
Sarnak
|
|
Join Date: May 2008
Location: california
Posts: 45
|
|
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.
|

03-22-2011, 09:47 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
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:
I am not sure what you mean about folder for your database. Folders and databases are 2 completely separate things.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 12:08 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |