View Single Post
  #1  
Old 03-08-2012, 11:29 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Default Failed to connect to database: Error: #1045: Access denied for user 'root'@'localhost

UPDATE: FIXED - it was the fact the password wasnt in one of the files. making a new thread about the new errors i hve.

No errors (that i know of) - but i can't fully launch server.
I made acceptions into windows 7 firewall inwards AND outwards TCP and UDP, I port forwarded my router, I don't have adaware running or -anything-.

=[

Any ideas?

also





Code:
---------------------------------------------
[03.08. - 22:22:30] Starting Log: logs/eqemu_error_world_12584.log
[03.08. - 22:22:30] Failed to connect to database: Error: #1045: Access denied for user 'root'@'localhost' (using password: YES)
Code:
---------------------------------------------
[03.08. - 22:11:51] Starting Log: logs/eqemu_debug_13148.log
[03.08. - 22:11:51] [LAUNCHER__INIT] Loading server configuration..
[03.08. - 22:11:52] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[03.08. - 22:11:52] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[03.08. - 22:11:52] [LAUNCHER__INIT] Starting main loop...
Code:
---------------------------------------------
[03.08. - 22:22:30] Starting Log: logs/eqemu_debug_12144.log
[03.08. - 22:22:30] [LAUNCHER__INIT] Loading server configuration..
[03.08. - 22:22:31] [NET__WORLD] WorldConnection connect: Connecting to the server 127.0.0.1:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[03.08. - 22:22:31] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[03.08. - 22:22:31] [LAUNCHER__INIT] Starting main loop...
---------------------------------
EQEMU CONFIG - BELOW
Code:
<?xml version="1.0"?>
 <server>
   <world>
	 <shortname>Esoeq</shortname>
	 <longname>EsoEq</longname>
 
	 <!-- address has to be specified for minilogin to work -->
	 <address>TheEsoNetwork.tk</address>
	 <localaddress>TheEsoNetwork.tk</localaddress>
	 
	 <!-- Loginserver information. -->
	 <loginserver>
	   <host>TheEsoNetwork.tk</host>
	   <port>5999</port>
	   <account></account>
	   <password></password>
	 </loginserver>
	 
	 <!-- Sets the shared key used by zone/launcher to connect to world -->
	 <key>SimCity 2000</key>
	 
	 <!-- Enable and set the port for the HTTP service -->
	 <http port="9080" enable="true" mimefile="mime.types"/>
   </world>
 
   <!-- Database configuration, replaces db.ini -->
   <database>
	 <host>localhost</host>
	 <port>3307</port>
	 <username>root</username>
	 <password>******</password>
	 <db>peq</db>
   </database>
</server>
Code:
@echo off
Echo Starting MiniLogin Server
c:
cd c:\minilogin
start minilogin.exe
echo.
echo.

cd C:\eqemu
start world.exe
echo waiting a bit for world to finish loading...
echo.
echo.
ping -n 10 127.0.0.1 > nul

echo starting zone
start eqlaunch.exe zone
exit
BELOW: loginserver.ini
Code:
### --- 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=192.168.155.100
loginport=5999
worldname=EsoEq
worldaddress=192.168.155.100
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=
chataddress=
chatport=

[LoginConfig]
ServerMode=StandAlone
ServerPort=5999
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

Reply With Quote