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 01-16-2005, 02:12 AM
dnk
Fire Beetle
 
Join Date: Feb 2004
Posts: 14
Default Plz Help, mysql 2006 problem

This 2006 almost kill me.
I have been reading thread and trying all kinds of solutions mentioned in them, but it still does't work.

When I start world.exe, it gives me this:

Code:
[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR2
[Status] Loading variables..
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in LoadVariables query 'SELECT varname, value, unix_timestamp() FROM varia
bles where unix_timestamp(ts) >= 0' #2006: MySQL server has gone away
[Status] Loading zones..
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in LoadZoneNames query 'SELECT MAX(zoneidnumber) FROM zone' #2006: MySQL s
erver has gone away
[Status] Clearing groups..
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Unable to clear groups: #2006: MySQL server has gone away
[Status] Loading items..
[Status] EMuShareMem loaded
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in GetItemsCount query 'SELECT MAX(id),count(*) FROM items' #2006: MySQL s
erver has gone away
Error: Database::LoadItems() (sharemem): GetItemsCount() returned -1
[Error] Error: Could not load item data.  But ignoring
Invalid worldname, please edit LoginServer.ini.  Server name must be at least 10
 characters.
Invalid worldshortname, please edit LoginServer.ini.  Short server name must be
at least 3 characters.
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error in LoadGuilds query 'SELECT id, eqid, name, leader, minstatus, rank0title,
 rank1, rank1title, rank2, rank2title, rank3, rank3title, rank4, rank4title, ran
k5, rank5title from guilds' #2006: MySQL server has gone away
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
[Status] Deleted -1 stale player corpses from database
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
[Status] Deleted -1 stale player backups from database
HELP I WORK IN THE EQEMU SWEATSHOP, YOU'RE MY ONLY HOPE!
TCP listening on: 127.0.0.1:9000
World server listening on: 127.0.0.1:9000
Connected to LoginServer: 127.0.0.1:5999
Database Error: Lost connection, attempting to recover....
DB Query Error #2006: MySQL server has gone away
Error: DBAsyncCB_LoadVariables failed: !GetAnswer: 'Login server responded with
FatalError. Disabling reconnect.#2006: MySQL server has gone away
Error message: 'Bad server name. Unknown reason.'
'
127.0.0.1:5999: TCPConnection::RecvData(): Error: 10053
Some info:
1, System: Windows XP
2, mysql version: 4.1

I have tried these:
1, add a space after host, user, password in db.ini
2, start mysql with --max_allowed_packet=16M
3, tried change host in db.ini, localhost, 127.0.0.1, 192.168.0.6(this is my ip)
4, All kinds of the grant staff

Please help me, Thanks a lot
Reply With Quote
  #2  
Old 01-16-2005, 04:58 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Post db.ini too.
(Edit: when you do, mask out the password if feel it necessary. But be sure the password is correct and you have no trailing space on that line.)
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #3  
Old 01-16-2005, 06:36 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Make sure that mysqld-nt.exe is running in the task manager (It will be in the processes tab and labeled as SYSTEM. If this is not running, thats your problem).
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #4  
Old 01-16-2005, 12:57 PM
dnk
Fire Beetle
 
Join Date: Feb 2004
Posts: 14
Default

Quote:
Originally Posted by RangerDown
Post db.ini too.
(Edit: when you do, mask out the password if feel it necessary. But be sure the password is correct and you have no trailing space on that line.)
db.ini:

Code:
[DataBase]
host=192.168.0.6
user=root
password=********
database=eq
"host" I have tried localhost, 127.0.0.1
Reply With Quote
  #5  
Old 01-16-2005, 12:59 PM
dnk
Fire Beetle
 
Join Date: Feb 2004
Posts: 14
Default

Quote:
Originally Posted by Cisyouc
Make sure that mysqld-nt.exe is running in the task manager (It will be in the processes tab and labeled as SYSTEM. If this is not running, thats your problem).
I am sure Mysql is running, because mysql-front can connect to mysql server with the same address, user name and password I used in db.ini....
Reply With Quote
  #6  
Old 01-16-2005, 01:08 PM
Branks
Sarnak
 
Join Date: May 2004
Posts: 58
Default

i had this problem and fixed it by remaking db.ini manually in notepad, dont copy/paste just retype it all etc and make sure theres no white space after lines.
Reply With Quote
  #7  
Old 01-16-2005, 01:29 PM
dnk
Fire Beetle
 
Join Date: Feb 2004
Posts: 14
Default

Quote:
Originally Posted by Branks
i had this problem and fixed it by remaking db.ini manually in notepad, dont copy/paste just retype it all etc and make sure theres no white space after lines.
Thanks Branks, I have tried this but didn't work.
I used UltraEdit instead of Notepad, I thought this shouldn't be a problem, UltraEdit is a very good editing software =P...
Reply With Quote
  #8  
Old 01-19-2005, 01:26 AM
Seb
Fire Beetle
 
Join Date: Jan 2005
Posts: 2
Default

I solved same problem by executing this at mysql:
Quote:
GRANT ALL PRIVILEGES ON EQDATABASEHERE.* TO MYMYSQLUSERNAME@localhost IDENTIFIED BY 'MYMYSQLPASSWORD' WITH GRANT OPTION;
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 09:56 PM.


 

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