Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 00:31:46

Author Topic: When uploading *.sql backup getting error #2006 Mysql gone away  (Read 2545 times)

0 Members and 1 Guest are viewing this topic.

Offline joshirahul84

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Please help me....

When uploading *.sql backup getting error #2006 Mysql gone away :(


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Upload using panel or application?.  How big this sql file?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline joshirahul84

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Its 18mb file. When uploading directly from kloxo panel restore option in database its uploading but not completing.

So i have tried with phpmyadmin, With this when i have uploaded again i received message #2006 mysql gone away and stop with that table in which big data is there.

check attached image.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Upload this file in /tmp directory (go to 'admin > servers > localhost > file manager'). Better in zip format.

And then open phpmyadmin (go to 'admin > sgl manager') and click export and select file from '/tmp' dir.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline joshirahul84

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
I have already done that with using ur older post.

But still same error coming #2006 Mysql gone away.

Please help me...


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try add 'max_allowed_packet=128M' under '[mysqld]' in '/etc/my.cnf.d/server.cnf'. After that, restart mysql with 'sh /script/restart-mysql'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline joshirahul84

  • Junior Member
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Its Work.... Thanks for the Help......

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.064 seconds with 23 queries.

web stats analysis