Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2008, 07:56 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default Mysql error

Lets try again....

Here is my config file contents:

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

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>10.1.1.40</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>********</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>

I was having trouble and completely un-installed and re-installed everything. Anyway, I click on the Start.bat and a couple windows flash so fast that I cant see them. Here are the error logs:

---------------------------------------------
[08.22. - 16:39:08] Starting Log: logs/eqemu_error_world_3516.log
[08.22. - 16:39:08] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)

So then I also used the cmd line to try to get world.exe to start that way, after reading about the thousandth+ post on here....



Any idea's what's going on?

Last edited by trevius; 08-23-2008 at 10:00 AM..
Reply With Quote
  #2  
Old 08-22-2008, 08:08 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 473
Default

Looks like you didn't grant yourself access to the database. Try this
Code:
GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'password' WITH GRANT OPTION;
I think that's right... you can look it up if t isn't
root and password can be changed to your username and password for mysql
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #3  
Old 08-22-2008, 08:33 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

Ok, tried that, with and without the quotes on the first on root@localhost. Still does the same thing with the same error messages

Reply With Quote
  #4  
Old 08-22-2008, 08:49 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 473
Default

You have your config file using eq as the user name? Change it to root. Or I guess you could grant privileges to the eq user...

Access denied for user 'eq'@'localhost' (using password: YES)


... oh yeah, be careful who you show that password too
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote
  #5  
Old 08-22-2008, 09:06 PM
FlitTastic
Sarnak
 
Join Date: Oct 2007
Posts: 34
Default

no, my user name isnt eq, its root. i even used the find function to see where every reference to eq was, and it isnt in any of the places that would cause an error, as far as i can tell.

The password is unique and will be changed. password is the least of my worries.
Reply With Quote
  #6  
Old 08-22-2008, 09:09 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 473
Default

This is the place I was talking about, in the config file

Code:
<!-- Database configuration, replaces db.ini.  Defaults shown -->
	<database>
		<host>localhost</host>
		<port>3306</port>
		<username>root</username>
		<password>******</password>
		<db>peq</db>
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
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 06:17 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3