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 10-18-2007, 06:54 AM
zack221
Fire Beetle
 
Join Date: Apr 2007
Posts: 9
Default Database connection issue

Hi just wondering if anyone out there could help me with this problem i am recieving. When i start my start.bat file nothing i happens one screen just flashes then closes the other just says:

Wait for world to finish loading. . . Press enter when done.
Press any key to continue. . .

then i just get a blank screen when i press a key.
i checked my log's in the Eqemu folder and this is what i get:

EQemu_debug_world_2308:
---------------------------------------------
[10.18. - 19:49:46] Starting Log: logs/eqemu_debug_world_2308.log
[10.18. - 19:49:46] [WORLD__INIT] Loading server configuration..
[10.18. - 19:49:46] [WORLD__INIT] Log settings loaded from log.ini
[10.18. - 19:49:46] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEMu 0.7.0
[10.18. - 19:49:46] [WORLD__INIT] Connecting to MySQL...
[10.18. - 19:49:46] [WORLD__INIT_ERR] Cannot continue without a database connection.

---------------------------------------------
[10.18. - 19:52:46] Starting Log: logs/eqemu_error_world_3296.log
[10.18. - 19:52:46] Failed to connect to database: Error: #1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Any help with this problem will be greatly appreciated

Thanks
Reply With Quote
  #2  
Old 10-18-2007, 10:23 AM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Can you post the contents your eqemu_config.xml file here please ?

And what version of mysql are you using ?
Reply With Quote
  #3  
Old 10-18-2007, 11:31 AM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

This sounds like the same exact problem im having, judging by the description he gave. I didnt know about checking the log file, but here is what mine says:

[10.18. - 16:21:43] Starting Log: logs/eqemu_debug_world_3924.log
[10.18. - 16:21:43] [WORLD__INIT] Loading server configuration..
[10.18. - 16:21:43] [WORLD__INIT_ERR] Loading server configuration failed.

Also, the version of Mysql is 5.0.45

The contents of my eqemu_config.xml file:

<?xml version="1.0">
<server>
<world>
<shortname>Marr</shortname>
<longname>Oasis Revisited</longname>

<!-- Only specify these two if you really think you need to. -->
<address>10.1.1.51</address>
<localaddress>127.0.0.1</localaddress>

<!--Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</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 configureation, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>*******</password>
<db>peq</db>
</database>
</server>

Thanks in advance
Reply With Quote
  #4  
Old 10-18-2007, 01:35 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Is your config file in the same directory as world.exe ?
Reply With Quote
  #5  
Old 10-18-2007, 02:50 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

yes, it is.
Reply With Quote
  #6  
Old 10-18-2007, 02:57 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

here is the pic of a screenshot of my eqemulator file:

Reply With Quote
  #7  
Old 10-18-2007, 06:40 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

Ok, I found the problem was that both config files have to have the same information in them, not just the .xml file. Would probably save ALOT of headaches if that was mentioned in the guide, and save literally hours of searching on the forums (I found the answer buried in a post after days of searching, and begging for help). I now have another problem with the zoneserver not working, but ill continue some more days of searching posts until I find the answer there. lol. Thank you to everyone that tried to help, it is, as always, very appreciated.
Reply With Quote
  #8  
Old 10-18-2007, 08:07 PM
zack221
Fire Beetle
 
Join Date: Apr 2007
Posts: 9
Default XML file and mysql

<?xml version="1.0">
<server>
<world>
<shortname>Euro</shortname>
<longname>customn in dev</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>192.168.1.2</address> -->
<!-- <localaddress>127.0.0.1</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- 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. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>letmein</password>
<db>peq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>


Thats my eqemu_config.xml file and im using MySQL version 5.0.37
Reply With Quote
  #9  
Old 10-23-2007, 01:13 AM
zooilogical
Fire Beetle
 
Join Date: Oct 2007
Posts: 2
Default Possible solve

had this problem solved it by going back to cmd prompt after you source the db in mysql you need to do this line before you exit

set password for ‘root’@’localhost’ = OLD_PASSWORD(‘newpwd’);


Change NEWPWD to your password that you used in the Instance Configuration Wizard, and be sure to leave the quotes in there.
Now you can close the Command Prompt.
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 07:48 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3