|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Windows Servers Support forum for Windows EQEMu users. |

05-03-2007, 05:51 AM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3309</port>
<username>root</username>
<password>******</password>
<db>peq</db>
</database>
</server>
Thanks for your post, Where it says localhost, I tried 127.0.0.1 and my Internal and external ip, and it still didnt work, but I've already went by that tutorial and tried what you said, and it still doesnt work, I even enabled ports 5999, 3309, 3306 on my router, shut off my firewall, I have perl, MYSQL, set up exactly how they said to have it set up. Any other possible problems that I might not be noticing?
Last edited by Balkon; 05-03-2007 at 01:56 PM..
|

05-03-2007, 07:04 AM
|
Sarnak
|
|
Join Date: Apr 2003
Posts: 41
|
|
Make sure you did these steps.
C:\mysql\bin\mysql -u root peq
> GRANT ALL PRIVILEGES ON peq.* TO eq@localhost IDENTIFIED BY 'eq' WITH GRANT OPTION;
This is if you installed the PEQ database.
Change eq@localhost to root@localhost
If you are using root which it looks like you are.
make sure the dtabase server is on the same machine as the eqemu server. It doesn't have to be but it will make things easier to start out.
|
 |
|
 |

05-03-2007, 10:31 AM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
Hmmm
Where do I type all that? In the MYSQL command line client? I just re-did the WHOLE tutorial over again on a brand new computer in my basement, still the same problem. The world.exe and the zone.exe just dissapear instantly. I tried typing what you said into the SQL command line client and it just gave me some error. In the logs it says cant find database or some crap (Same thing I posted above) I've tried going through the login server and typing my IP, 127.0.0.1 and my Internal 192.168.1.104 and External in every place it asks for it. I tried ports 5999 and 3066 for everything that asks for a port, I have them all unblocked, And I know 100% that I did everything right. What your saying might work but I dont know where to type all that, or how to do it. Thanks for the post, can you guide me a little more? By the way, heres some other error I find in the log, now that I re-did the server thing: ---------------------------------------------
[05.03. - 18:40:33] Starting Log: logs/eqemu_error_zone_4008.log
[05.03. - 18:40:33] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)
Last edited by Balkon; 05-03-2007 at 06:40 PM..
|
 |
|
 |

05-03-2007, 10:47 AM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
Go to Mysql site and download the MySql Adminsitrator GUI, it's all real easy there
|

05-03-2007, 10:54 AM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
Ok, thanks, hopefully it helps. I'll tell you if it does or if I have a question 
|

05-03-2007, 11:02 AM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
should I set all the places that ask for ports to 5999 or 3306? If not one, which ones need to be set to 5999 and which ones 3306? Also for IP addresses, which ones should be set to localhost and which ones 127.0.0.1?
Thanks
|

05-03-2007, 11:20 AM
|
AX Classic Developer
|
|
Join Date: May 2006
Location: filler
Posts: 2,049
|
|
You mean your firewall? is this a windows, linux, or router firewall? If you have a router, you don't need Windows or Linux firewall, unless you have a DMZ server.
heres some ports;
3306/udp 5999/udp 9000/udp 7000 - 7005/udp 3306/tcp 5999/tcp 7000 - 7005/tcp
You don't need to clear ports on your router if you play in your LAN only
If you use static zones, then you have to open more of the 7000 ish zones
|

05-03-2007, 01:14 PM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
Quote:
Originally Posted by mamba666
Make sure you did these steps.
C:\mysql\bin\mysql -u root peq
> GRANT ALL PRIVILEGES ON peq.* TO eq@localhost IDENTIFIED BY 'eq' WITH GRANT OPTION;
|
Do I just type in > GRANT ALL PRIVILEGES ON peq.* TO eq@localhost IDENTIFIED BY 'eq' WITH GRANT OPTION;
or do I have to do that C:\mysql\bin\mysql -u root peq, because the last time I tried typing that in I got an error... And do I need to change eq@localhost to root@localhost since Im using root? Thanks
|
 |
|
 |

05-03-2007, 01:24 PM
|
 |
Discordant
|
|
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
|
|
Heres the best way to do this. Download the GUI Tools from Mysql
Open up Mysql Administator
Go to User Administration
in the bottom left corner, see if you have two users, on being root, the other being eq, if you only have root do this
At the bottom right, click on Add New User, and fill in the information for user name and password, ingnore the rest. Once this is done click Apply changes
Now click on the eq user in the bottom left window. Then go to Schema Privilages. Click on the peq databse, then click the << buttone in the middle to assign all available privilages.
Once that is done, Open up the mysql command thing, and then type in the command angelox said earlier.
Code:
set password for 'eq'@'localhost = OLD_PASSWORD('newpwd');
putting the password you gave eq in the Mysql Adminstation program a couple steps ago.
This will set up a accoutn name eq that has the same ability as the root account if you followed the guide from the wiki. Personaly, if you have issues using the root account, your still going to have issues with the eq account.
|
 |
|
 |
 |
|
 |

05-03-2007, 01:39 PM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 14
|
|
Ok I did what you said, but it didnt work, and said that eq@localhost didnt exist, so I clicked the eq user on the serveradministater UI thing, and it said eq@anyhost, so then I clicked add host changed the name to local host, it was then eq@localhost. I then typed in the code to change the password, it worked but it said 0 rows affected, like it changed nothing. But then I tried the start.bat, it did the same thing it always does, starts up real quick, world dissapears instantly and the other screen stays blank, so I went back to the log and it said -- ------------------------------
[05.03. - 21:48:34] Starting Log: logs/eqemu_debug_world_3872.log
[05.03. - 21:48:34] [WORLD__INIT] Loading server configuration..
[05.03. - 21:48:34] [WORLD__INIT] Log settings loaded from log.ini
[05.03. - 21:48:34] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[05.03. - 21:48:34] [WORLD__INIT] Connecting to MySQL...
[05.03. - 21:48:34] [WORLD__INIT_ERR] Cannot continue without a database connection.
so now the other problem is gone (I think), and were back to this one, The only thing I think could screw this up is a firewall or router blocking it ,and I turned my firewall off and unblocked 3306. And 5999 even though its not nessacary, so now the only thing I think could be the problem is my LoginServer.ini and my eqemu_config.xml . So I'm going to post what the have in them, see if I have anything wrong --
eqemu_config.xml
<?xml version="1.0">
<server>
<world>
<shortname>JGT</shortname>
<longname>JGTs Server</longname>
<!-- Only specify these two if you really think you need to. -->
<!--<address>192.168.1.105</address>-->
<!--<localaddress>127.0.0.1</localaddress>-->
<!-- Loginserver information. -->
<loginserver>
<host>127.0.0.1</host>
<port>3306</port>
<account></account>
<password></password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>
<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>127.0.0.1</host>
<port>3306</port>
<username>root</username>
<password>everquest</password>
<db>PEQ</db>
</database>
</server>
and
LoginServer.ini
### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.
### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.
### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.
# READ README.TXT
[LoginServer]
loginserver=127.0.0.1
loginserver2=newlogin1.eqemulator.net
loginport=3306
loginport2=3306
worldname=JGTs Server
worldaddress=127.0.0.1
locked=false
account=
password=
[WorldServer]
Defaultstatus=
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=
[LoginConfig]
ServerMode=Minilogin
ServerPort=3306
Last edited by Balkon; 05-03-2007 at 09:56 PM..
|
 |
|
 |

05-08-2007, 03:58 PM
|
Fire Beetle
|
|
Join Date: Apr 2007
Posts: 12
|
|
may be stupid on my part but you might try going under mysql and typing in CONNECT **the name of your database here**. sometimes when you restart mysql it won't restart with the DB connected
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
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 08:29 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |