Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6606451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:23:50+00:00 2026-05-25T19:23:50+00:00

When I tried to establish a MySQL database using a dump, I got the

  • 0

When I tried to establish a MySQL database using a dump, I got the following error message

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

After extensive Googling (and searching in this forum), I found that I have to increase the max_allowed_packet in the my.ini file. I have tried various values (including very large values) for this parameter, but I cannot get rid of this error.

Even if I specify the –max_allowed-packet option in the command line (as follows) there is no use

C:\Users\Panora>mysql --user=root --password=root --max-allowed-packet=600M db < dump.sql
ERROR 2006 (HY000) at line 50973: MySQL server has gone away

I tried creating the dump file using the following command, still no use

mysqldump --opt --skip-extended-insert --max_allowed_packet=10M --user=root --password=root db > dump.sql

Please advice me what I am really missing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:23:51+00:00Added an answer on May 25, 2026 at 7:23 pm

    After extensive analysis, I have found that the old technique simply works, yes, editing the my.ini configuration file.

    But the actual problem is to locate the my.ini file (MySQL V5.5 on Windows Vista), which is in the following location and this folder is HIDDEN (not like earlier versions) by default:

    C:\ProgramData\MySQL\MySQL Server 5.5\my.ini
    

    (Note the name carefully, this is NOT Program Files but ProgramData)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to establish the Connection with MailServer (Custom Mail server). Whenever I tried
Tried following the instructions here: How to use Google app engine with my own
Tried to install some program, it gives above message requiring 1.1.4322. BUT as the
I'm using Kohana 2. I would like to catch a database exception to prevent
I'm trying to establish a connection with a database in a Windows CE 5.0
I have tried the following query in phpmyadmin and it returns the correct results,
I've tried using a variety of XMPP libraries for Node.js, and am having trouble
I am getting an 'Access to the path is denied error message when running
I have a MySQL database set up on 000webhost.com. I want to access the
I tried to establish connection to my aws s3 account like this in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.