Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Posts
    239
    Plugin Contributions
    0

    Default Please help me fix this error

    The following error appears when some of my customers try checking out:

    2013 Lost connection to MySQL server during query
    in:
    [update zen_products set products_ordered = products_ordered + 1.000000 where products_id = '380']

    2006 MySQL server has gone away
    in:
    [select count(*) as total from zen_sessions where sesskey = 'jhbv1k8vc06c0uds1dk8g258m5']

    How do i fix this?

  2. #2
    Join Date
    Feb 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Please help me fix this error

    I'm having the same problem, any suggestions out there?

    Beth-katherine

  3. #3
    Join Date
    Aug 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Please help me fix this error

    Hello. Experiencing the same issue here -- only in the admin module when attempting to e-mail customer regarding order status.

    Help or ideas appreciated!

  4. #4
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Please help me fix this error

    http://www.mysql.com/doc/G/o/Gone_away.html
    http://www.mysql.com/doc/C/o/Common_errors.html
    http://www.mysql.com/doc/S/e/Server_parameters.html
    http://www.mysql.com/doc/O/p/Option_files.html
    http://www.mysql.com/doc/S/H/SHOW_VARIABLES.html

    The most common reason for the MySQL server has gone away error

    1. Is that the server timed out and closed the connection. By default, the server closes the connection after 8 hours or 28800 seconds if nothing has happened. You can change the time limit by setting the wait_timeout variable when you start mysqld via your server's /etc/my.cnf as well.

    2. Another common reason to receive the MySQL server has gone away error is because you have issued a ``close'' on your MySQL connection and then tried to run a query on the closed connection. You can check that the MySQL hasn't died by executing mysqladmin version and examining the uptime.

    i.e. to check mysql uptime, in shell as root user type:
    mysqladmin -u root -p version

    3. You can also get these errors if you send a query to the server that is incorrect or too large. If mysqld gets a packet that is too large or out of order, it assumes that something has gone wrong with the client and closes the connection. If you need big queries (for example, if you are working with big BLOB columns), you can increase the query limit by starting mysqld with the -O max_allowed_packet=# option (default 1M) or via max_allowed_packet variable in your /etc/my.cnf file and restarting mysql after you edited your /etc/my.cnf file. The extra memory is allocated on demand, so mysqld will use more memory only when you issue a big query or when mysqld must return a big result row

    If you do not have such acess to the server such as root or shell you may need to contact your web host for support
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

 

 

Similar Threads

  1. wHAT DOES THIS ERROR CODE MEAN AND HOW WOULD I FIX THIS?
    By Snaggle in forum General Questions
    Replies: 2
    Last Post: 15 Jun 2011, 10:27 PM
  2. PLEASE help me with this error
    By AmyMarie1 in forum General Questions
    Replies: 2
    Last Post: 5 Dec 2010, 06:34 AM
  3. please help me fix this code, adding quantity box and add to cart button to xsell
    By lankeeyankee in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Nov 2007, 03:24 AM
  4. A help with this error please
    By yd29999 in forum General Questions
    Replies: 2
    Last Post: 4 Jun 2007, 09:26 PM
  5. Help me fix this text wrap on product description please
    By redge in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Oct 2006, 11:32 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