¡¡¡¡½ñÌìÔÚ¶ÔMySqlÊý¾Ý¿â½øÐб¸·Ý¡¢»Ö¸´Ê±£¬³öÏÖÒ»¸öÎÊÌ⣬´ÓÔ´Êý¾Ý¿âÓÃBascup as SQL dump·½Ê½±¸·Ý³öµÄSQLÎļþ£¬Ö´Ðлָ´Restore from SQL dumpʱ³öÏÖ´íÎó£¬ÔÚ´ò¿ª´íÎóÈÕ־ʱ£¬¼Çʱ¾Í£Ö¹ÏìÓ¦£¬ÎÞ·¨´ò¿ª£¬Òò´Ë¿´²»µ½´íÎóÈÕÖ¾£¬ÎÞ·¨È·¶¨´íÎóÔÒò¡£ºóÀ´Ò»Ïë¼Çʱ¾Í£Ö¹ÏìÓ¦Ó¦¸ÃÊÇÈÕÖ¾Îļþ¹ý´óÔì³ÉµÄ£¬¶ø¼Çʱ¾¶Ô´óµÄÎı¾Îļþ´¦ÀíÄÜÁ¦½ÏÈõ£¬ÓÚÊÇÉÏÍøÏÂÔØUltraEditÎı¾±à¼Æ÷£¬ÊÖ¶¯¹ûÈ»¿ÉÒÔ´ò¿ª´íÎóÈÕÖ¾£¨winxpϵͳ´íÎóÈÕ־·¾¶£ºC:\Documents and Settings\zqd\Application Data\SQLyog\sqlyog.err£©£¬´íÎóÐÅϢΪ£º¡°Got a packet bigger than 'max_allowed_packet' bytes¡±£¬Ò»¿´±¸·ÝµÄSQLÎļþº¬Êý¾ÝÌå»ý´ïµ½60¶àÕ×£¬¼¸¾ÕÛÌÚÕÒµ½Á˽â¾öµÄ°ì·¨£º
¡¡¡¡1¡¢ÔÚMySql°²×°Ä¿Â¼ÏÂÕÒµ½ÅäÖÃÎļþmy.ini(LinuxÏÂΪmy.cnf)£¬Èç¹ûÕÒ²»µ½Ôò˵Ã÷ϵͳûÓÐÕâ¸öÅäÖÃÎļþ£¨Ä¬ÈϺÃÏñûÓÐÕâ¸öÎļþ£©£¬¿ÉÒÔÊÖ¶¯Ð½¨Ò»¸ötxtÎļþ£¬½«Ãû³Æ¸ÄΪMy.ini(LinuxÏÂδ²âÊÔ)¡£
¡¡¡¡2¡¢ÔÚÆäÖÐÌí¼Ó£ºmax_allowed_packet=500M£¨¿ÉÒÔ×Ô¶¨Ò壩
¡¡¡¡3¡¢Èç¹ûMy.ini´æÔÚ£¬Ôò»¹ÊÇ°´²½Öè2²Ù×÷£¬Íê±Ïºó£¬»¹Ðë²éÕÒÊÇ·ñÓÐÕâÑùÒ»ÐУºold_passwords=1¡£Èç¹ûÓУ¬Ôòɾ³ý£¬Èç¹ûûÓÐÔòOK¡£
¡¡¡¡4¡¢´Ëʱ¼´¿ÉÓûָ´¹¦Äָܻ´³¬´óµÄ±¸·ÝÎļþ¡£Ò»ÇÐÕý³£¡£