Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2007, 05:00 AM
Balkon
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default Ok, question

Ok well I think I'm alot closer to getting my server up, And I've been searching around and haven't seen anyone who has the same problems with there server as me. When I dclick the Start.bat, I get 2 screens, one dissapears real fast, and a screen that says Wait for world to finish loading... Press enter when done... Press any key to continue. I press enter and it takes me to a blank screen that says nothing, and I did what the tutorial said, I waited 30 seconds, actually 10 minutes and it still does nothing, So, I just move on and try to open the zone.exe and the world.exe, they both open for a split second and then close, when I read the error logs it says ---------------------
[05.03. - 02:27:56] Starting Log: logs/eqemu_debug_world_3156.log
[05.03. - 02:27:56] [WORLD__INIT] Loading server configuration..
[05.03. - 02:27:56] [WORLD__INIT] Log settings loaded from log.ini
[05.03. - 02:27:56] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[05.03. - 02:27:56] [WORLD__INIT] Connecting to MySQL...
[05.03. - 02:27:56] [WORLD__INIT_ERR] Cannot continue without a database connection.

AND I KNOW that people have had similiar problems but there not exactly the same as mien and I tried the replies and solutions and they haven't worked for me, any ideas one what this might be?
Reply With Quote
  #2  
Old 05-03-2007, 05:08 AM
uncommon
Sarnak
 
Join Date: Feb 2002
Posts: 52
Default

Well, it's really self explaining : there's a problem while etablishing the connection with mysql.

Check that part of your eqemu config file, make it reflect your actual mysql configuration (you set the password after mysql install and the DBNAME is the name of your database : peq, ax_peq or whatever your sourced).

<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>Your Password</password>
<db>DBNAME</db>
</database>

PS : In fact you should read the mysql section of that howto, it's better than my crappy english.
http://www.eqemulator.net/wiki/wikka...ka=ws992mysql5
Reply With Quote
  #3  
Old 05-03-2007, 05:51 AM
Balkon
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default

<!-- 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?
Attached Images
File Type: jpg pic.JPG (10.6 KB, 323 views)

Last edited by Balkon; 05-03-2007 at 01:56 PM..
Reply With Quote
  #4  
Old 05-03-2007, 07:04 AM
mamba666
Sarnak
 
Join Date: Apr 2003
Posts: 41
Default

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.
Reply With Quote
  #5  
Old 05-03-2007, 10:31 AM
Balkon
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default 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..
Reply With Quote
  #6  
Old 05-03-2007, 10:47 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Go to Mysql site and download the MySql Adminsitrator GUI, it's all real easy there
Reply With Quote
  #7  
Old 05-03-2007, 01:14 PM
Balkon
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default

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
Reply With Quote
  #8  
Old 05-03-2007, 01:24 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

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.
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 02:50 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