EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   Errors when exec. World .exe (https://www.eqemulator.org/forums/showthread.php?t=5430)

LiquidRaven 02-22-2003 08:34 AM

Errors when exec. World .exe
 
My world exe does come up but it gives me a shit load of errors like
Failed to connect to database: Access denied for user, using password yes and some errors like
erroe: error in getitems query and crap like that

also when i try the alternative

And if that does not help. Open mysql.exe ( found in c:\mysql\bin )
Type in: GRANT ALL PRIVILEGES ON *.* to '%'@localhost IDENTIFIED BY '%'; (press enter)
Close out of mysql.exe

it wont work, says enter password : no


what to do what to do lol

LiquidRaven 02-22-2003 12:25 PM

....
 
cmon people, someone has to have come across this b4.....

Trumpcard 02-22-2003 01:02 PM

what exactly is not working?

Opening mysql ?

You probably need to use

mysql <databasename> -uusername -ppassword

to get in.. you might have already set a password

LiquidRaven 02-22-2003 05:03 PM

This is whats wrong...
 
This is what world.exe says when i try to execute it...

Failed to connect to database: Error: Access denied for user: so and so<using password yes>
Eqemu 0.4.1 Spekkio
Error in GetVariable query 'SELECT value FROM variables WHERE varname like 'holdzones''#2006: MySQL server has gone away
Loading zone names &amp; items...
Error in LoadZOneNames query 'SELECT MAX&lt;zoneidnumber> FROM zone' #2006: MySQL server has gone away
EMuShareMem.dll loaded.
Error in GetItemsCount query 'SELECT MAX<id>, count&lt;*> FROM items' #2006: MySQL server has gone away
Error: Database::LoadItems&lt;> &lt;sharemem>: GetItems&lt;> returned -1
...done
LoginServer.ini read.
Loading guild ranks...Error in LoadGuilds query 'SELECT id, eqid, name, leader, rank0title, rank1, rank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, rank5, rank5title from guilds' #2006: MySQL server has gone away
done.
Loading EQ time of day...Reading time file failed, bytes read: 0
failed
Warning: Pants may change during online play.
World server listning on: port 9000
Error: LoginServer::Conect: 'TCPConnection::Connect&lt;>: connect&lt;> failed. Error: 10061'


whew lot of typing.....

so anyone know what i can fix to get by this ROFL

Trumpcard 02-22-2003 06:57 PM

YOu need to give that user privileges in the database.

Do a search on PRIVILEGES on the forums and you'll see about 100 threads discussing it. The pertinent text in the readme is correct.

Using password no sounds like you've already set a password via winmysqladmin, and you're either not using that one, or you've got a typo somewhere, you should be able to just mysql in if you havent set a password. Since you get that error message, you need to pass the username and password to the mysql.exe program to get in to alter the permissions.

Regardless, I'd verify that youre using the same password/username that is in the winmysqladmin screen

LiquidRaven 02-22-2003 09:16 PM

Ok im fed up
 
Ive tried everything. this is what i get still

Failed to connect to database: Error: Access denied for user: 'Eric@127.0.0.1' (
Using password: YES)
EQEMu 0.4.2 eRAMNotes Sucks!
Loading Variables, zone names & items...
Error in LoadVariables query 'SELECT varname, value, unix_timestamp() FROM varia
bles where unix_timestamp(ts) >= 0' #2006: MySQL server has gone away
Error in LoadZoneNames query 'SELECT MAX(zoneidnumber) FROM zone' #2006: MySQL s
erver has gone away
EMuShareMem.dll loaded.
Error in GetItemsCount query 'SELECT MAX(id), count(*) FROM items' #2006: MySQL
server has gone away
Error: Database::LoadItems() (sharemem): GetItemsCount() returned -1
...done.
LoginServer.ini read.
Loading guild ranks...Error in LoadGuilds query 'SELECT id, eqid, name, leader,
rank0title, rank1, rank1title, rank2, rank2title, rank3, rank3title, rank4, rank
4title, rank5, rank5title from guilds' #2006: MySQL server has gone away
done.
Loading EQ time of day...Reading time file failed, bytes read: 0
failed.
Warning: Pants may change during online play.
World server listening on: localhost:9000
Error in LoadVariables query 'SELECT varname, value, unix_timestamp() FROM varia
bles where unix_timestamp(ts) >= 0' #2006: MySQL server has gone away
Connected to LoginServer: eqlogin2.eqemu.net:5999


it now says its connected, least i made it somewhere..../sigh

AchTR 02-27-2003 09:59 PM

Make sure you reload mysql server!! =) I JUST had this problem, and i was forgetting to reload after I made the changes! D'oh!

Will

Shawn319 02-28-2003 07:10 AM

Quote:

Failed to connect to database: Error: Access denied for user: 'Eric@127.0.0.1' (

The readme did not say to use "127.0.0.1" in host. it says to use LOCALHOST.

fix db.ini and you will be fine hehe..

i'm sure this goes for LiquidRaven as well.


All times are GMT -4. The time now is 11:51 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.