Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Location
    Perth, Australia
    Posts
    3
    Plugin Contributions
    0

    Default MY SQL server has gone away

    Hi there,

    I have searched for this error in this forum but to no avail.

    I have just had this error this morning when trying to login in Admin mode. I didn't have this problem prior to today. I don't know if it relates to my ISP changing MySQL settings...

    Anyway any assistance would be appreciated...

    Sorry if this is an easy one to fix.

    yojiki out!!



    2006 MySQL server has gone away
    in:
    [select * from coupon_gv_queue where release_flag='N']
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    2006 MySQL server has gone away
    in:
    [select count(*) as total from sessions where sesskey = 'dc3b7a57163b292224113c54a6d8ad76']
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: MY SQL server has gone away

    FAQ Article:
    https://www.zen-cart.com/tutorials/i...hp?article=388
    "MySQL server has gone away" means that when you clicked on something to ask Zen Cart to do something, it started processing the request, but when it went to retrieve data from the database, it found that the database connection had disconnected, but not by Zen Cart's request.

    Possible causes:
    - slow connection to external systems being accessed to produce part of page contents (ie: a USPS shipping quote when USPS servers are running slow)
    - your own webserver is running slow (perhaps due to bogged down processing while the server is handling a bunch of spam email, or if your server is overloaded because your hosting company has too many customers on the one server)
    - your hosting company may have configured the server to expire database connections on a very short time period. Most hosts allow connections to remain open for 30 seconds or more, depending on how they have other systems such as PHP configured.

    You should be asking your hosting company what's changed on the server, if anything, and reporting to them that you're experiencing database disconnections (connections dropping) that you weren't seeing earlier.
    They'll want to know what *you* have changed, as well.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2008
    Location
    Perth, Australia
    Posts
    3
    Plugin Contributions
    0

    Default Re: MY SQL server has gone away



    Thanks DrByte. I really appreciate your assistance!

    I will let you know the outcome of my discussion with my ISP.

    I was wondering if this was a common issue for other Zenners as well?

    Cheers again.

    yojiki

  4. #4
    Join Date
    Mar 2008
    Location
    Perth, Australia
    Posts
    3
    Plugin Contributions
    0

    Default Re: MY SQL server has gone away

    It is fixed. I think the ISP fixed it ASAP which is fantastic.

    Zenneriffic!!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: MY SQL server has gone away

    Quote Originally Posted by yojiki View Post
    I was wondering if this was a common issue for other Zenners as well?
    Not "common", but it can occasionally happen for the reasons I stated earlier.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    May 2008
    Posts
    20
    Plugin Contributions
    0

    Default Re: MY SQL server has gone away

    Hi, thought this was interesting as I have this exact same problem which occured yesterday morning, didn't have time to work it out though as had to do a market but still have this problem, not too confident about my hosting company helping so quickly though as last time it took 6 weeks, anyway just thought I'd mention that I had the same problem on the same day and I am in Australia too, don't know what that means but thought it was worth mentioning.

 

 

Similar Threads

  1. PP Express SQL Error "2006 MySQL server has gone away"
    By serial3dart in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 4 Feb 2010, 03:41 AM
  2. Replies: 5
    Last Post: 5 Jan 2010, 09:07 PM
  3. MySQL server has gone away
    By dealbyethan.com in forum General Questions
    Replies: 1
    Last Post: 17 Apr 2009, 06:35 PM
  4. SQL Error 2006 MySQL server has gone away
    By asterix in forum General Questions
    Replies: 17
    Last Post: 17 Sep 2008, 01:45 PM
  5. MySql server has gone away
    By Crooked_Halo in forum General Questions
    Replies: 7
    Last Post: 31 Mar 2008, 03:12 PM

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