Jump to content

[SOLVED] ERROR 2006 (HY000) at line 1: MySQL server has gone away


Recommended Posts

I'm getting this error when trying to import a sql file..

 

ERROR 2006 (HY000) at line 1: MySQL server has gone away

 

I opened my.cnf and changed the max allowed bytes to 16M even though my file is only about 1M and it still didn't work..

 

What could the problem be?

 

Here's the first few lines of my .sql

 

INSERT INTO items (`IDString`,`IDNumber`,`Name`,`SkinID`,`ShopType`,`ItemType`,`EquipPosition`,`req_Strength`,`req_Endurance`,`req_Agility`,`req_Wisdom`,`req_Intelligence`,`req_Attack`,`DamageFormula`,`Exhaust`,`ArmorClass`,`Dodge`,`b_int`,`b_end`,`b_str`,`b_wis`,`b_agi`,`b_luck`,`b_attack`,`b_dodge`,`b_damage`,`b_radiance`,`b_r_air`,`b_r_fire`,`b_r_water`,`b_r_earth`,`b_r_light`,`b_r_dark`,`b_p_air`,`b_p_water`,`b_p_fire`,`b_p_earth`,`b_p_light`,`b_p_dark`,`b_StunBlow`,`b_PowerfulBlow`,`b_FirstAid`,`b_Parry`,`b_Meditate`,`b_Hide`,`b_Rob`,`b_Sneak`,`b_Search`,`b_PickLock`,`b_ArmorPenetration`,`b_Peek`,`b_RapidHealing`,`b_Archery`,`Radius`,`Charges`,`JunkAtRemort`,`CannotHide`,`CannotEquip`,`CannotJunk`,`CannotRob`,`CannotDrop`,`IsUnique`,`CanBeSummoned`,`IsRangedWeapon`,`Unlimited`,`Location`,`ReSell`,`Weight`) VALUES
('Steel Chest',41884,'Steel Chest',262,'armor','armor','body',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,true,true,true,true,false,false,true,'Nowhere',0,0),
('Jailer Axe',41886,'Jailer Axe',122,'weapon','weapon','right-handed',0,0,0,0,0,0,'1','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,false,true,false,true,true,true,false,false,false,true,'Nowhere',0,0),
('Jail Sign',41887,'Jail Sign',360,'sign','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,true,true,true,false,true,false,true,'Arakas',0,0),
('GM 1 HAND STAFF',41897,'GM 1 HAND STAFF',295,'weapon','junk','right-handed',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,true,true,true,false,true,false,true,'Arakas',0,0),
('Sign of Teleport',41901,'Sign of Teleport',361,'sign','armor','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,false,true,true,true,true,true,false,true,false,true,'GM Item (reserved)',0,0),
('Dantalir chest',41903,'Dantalir chest',20,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,false,false,false,'Stoneheim',0,10000),
('Oracle bonus chest 1',41905,'Oracle bonus chest 1',41,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,false,false,false,'Oracle zone',0,0),
('Oracle bonus chest 2',41906,'Oracle bonus chest 2',41,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,false,false,false,'Oracle zone',0,0),
('Oracle bonus chest 3',41907,'Oracle bonus chest 3',41,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,false,false,false,'Oracle zone',0,0),
('Oracle bonus chest 4',41908,'Oracle bonus chest 4',41,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,false,false,false,'Oracle zone',0,0),
('Shiny silver key',41910,'Shiny silver key',30,'potion','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,true,false,false,false,true,true,false,true,false,false,'Oracle zone',0,0),
('Temple door tester',41911,'Temple door tester',189,'standard','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,false,true,true,false,false,false,false,false,false,false,'Nowhere',0,0),
('Temple door tester 2',41912,'Temple door tester 2',41,'container','junk','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,false,true,true,false,false,false,false,false,false,false,'Nowhere',0,0),
('Winterbottom Sign',41914,'Winterbottom Sign',348,'sign','potion','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,0,false,true,true,false,false,false,false,true,false,true,'Arakas',0,0),
('Orealm1stChestEntryLever',41915,'Orealm1stChestEntryLever',189,'standard','armor','none',0,0,0,0,0,0,'0','0',0,0,'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0',0,-1,false,true,true,false,false,false,false,true,false,true,'Stoneheim',0,0),

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.