SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Large Dump < Restore

    Inserting a 239 MB (250,834,944 bytes)
    mysql pulse < "Table.sql"

    I'm using delayed inserts and each time I get...
    ERROR 2013 (HY000) at line 873: Lost connection to MySQL server during query.

    How can I stop it from losing the connection each time?
    Do I have to break up the dump into smaller chunks?

  2. #2
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    you, or you have to increase your max_packet_size.

  3. #3
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I set max packet size to 512mb, almost double the size of the file and it still failed...

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


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •