Log in

View Full Version : Failing to connect


paladin79
11-27-2008, 10:20 PM
Hello,

Im trying to set up a server, but I keep running into the same problem when I try to initiate the start up, sorry in advance, ive been searching the forums to find a answer, but havent really seen anything.

the error is:

[Error} Starting Log: logs/eqemu_error_world_1504.log
[Error] Failed to Connect to the database: Error: #1045: Access denied for user 'eq' @'localhost' (Using password: YES)
[Debug]
[WORLD_INIT_ERR] Cannot continue without a database connection

That seems to be the problem and i just cant seem to fiqure it out, and I have gone over the tutorial on how to set it up a fews times.

Thanks

Furinex
11-28-2008, 08:09 AM
You are putting your password incorrectly in your .ini files. Open your EQEMU folder and open up eqemu_config.xml, there is a section for all the information that allows EQEMU to link your database to the world.exe. One of the slots is <password></password> ... well unless your password is "YES" then you didnt fill this out, and you also didnt read the directions to setting the server up correctly. Post your loginserver.ini (if you have a minilogin) and post your eqemu_config.xml file and I can help you more indepth.

paladin79
11-28-2008, 09:50 AM
Here is the eqemu_config

<?xml version="1.0">
<server>
<world>
<shortname>eep</shortname>
<longname>emulated eq playing</longname>

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

<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password>eqplaying</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>localhost</host>
<port>3306</port>
<username>root</username>
<password>#####</password>
<db>peq</db>
</database>
</server>

Thanks for the help

trevius
11-28-2008, 05:39 PM
Try reading the FAQ in my sig:

http://www.eqemulator.net/wiki/wikka.php?wakka=EQEmuFAQ#QLinkZ

bthomsen0312
11-11-2009, 06:00 PM
i tried changing the password for my root 3 different times and it says EQ@localhost ISNT a valid username when i try to change its password.