Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2011
    Posts
    24
    Plugin Contributions
    0

    help question HELP importing sql database

    I deleted one of my sites and uninstalled zen cart, I did a database backup before doing so. I reinstalled zencart and i am now trying to import the old database backup into the new database and i am getting this error?

    Error

    SQL query:

    LOCK TABLES `zen_admin_activity_log` WRITE ;

    MySQL said: Documentation
    #2006 - MySQL server has gone away

    Any help would be great

  2. #2
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: HELP importing sql database

    You could have large database that is taking longer than your server maximum time to execute a mysql script.

    If this is correct then you have to allow more time to execute such commands.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HELP importing sql database

    #2006 - MySQL server has gone away
    Talk to your host about this - that is a mysql server issue
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jan 2011
    Posts
    24
    Plugin Contributions
    0

    Default Re: HELP importing sql database

    Thanks Kobra.. Believe it or not may of your post have gotten me through tons of problems...I did contact my host and this is what i did.
    I did the database backup through godaddy's hosting control center and i was trying ti import the database through phpadmin and that was not going to work. I had to go back into the hosting control center click on the database and then restore. it listed all the files in the db_backups,then i selected the backup i wanted to restore and it worked.
    IT WAS A TIME OUT PROBLEM BUT RESTORES THROUGH GODADDY BYPASS THAT.
    I hope this helps others.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: HELP importing sql database

    Provided that you know how to do it you can also restore databases of any size using SSH.

    phpMyAdmin is of very limited use when it comes to restoring large databases.

    Vger

 

 

Similar Threads

  1. v139h Problem Importing SQL database to new database ready for testing Zencart 1.5
    By gillpotsoffun in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 24 Aug 2015, 11:24 PM
  2. HELP importing sql database
    By mrtwelvevolts in forum General Questions
    Replies: 1
    Last Post: 6 Feb 2011, 04:33 PM
  3. SQL Error When Importing Database
    By acreativepage in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Nov 2010, 01:49 AM
  4. Replies: 4
    Last Post: 15 Oct 2010, 07:18 AM
  5. SQL Error Importing Database
    By esugrue in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Oct 2008, 05:02 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR