Results 1 to 6 of 6

Thread: 4.2.1 SQL error (upgrade-history) on upgrade wizard

  1. #1
    Kappauf is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    Zurich
    Posts
    12

    Default 4.2.1 SQL error (upgrade-history) on upgrade wizard

    The upload of upgrades is possible. But I cannot install the upbrade, as following error messages appears.

    The following upgrades are ready to be installed:
    Query Failed:SELECT id FROM upgrade_history where md5sum = 'b54c30739c3e0d50286e1b87xxxxxx'::MySQL error 2006: MySQL server has gone away

    The upgrade_history table has no records.

    Thanks for any help.

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: 4.2.1 SQL error (upgrade-history) on upgrade wizard

    do a google search for "error 2006: MySQL server has gone away" and you will find about 10-12 sites explaining fixes. It looks like it has to do with a setting in your mysql.cnf file.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    Kappauf is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    Zurich
    Posts
    12

    Default Re: 4.2.1 SQL error (upgrade-history) on upgrade wizard

    kbrill, thanks for your hints.
    I had contact to my webhoster, he explained, that the query does not find any records, it keeps searching until time out (several seconds). If I run the querey in mysqladmin, it takes 0.004 seconds with result 0 records found.
    Is there a way to fix the update_history table?
    Thanks.

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: 4.2.1 SQL error (upgrade-history) on upgrade wizard

    Quote Originally Posted by Kappauf
    kbrill, thanks for your hints.
    I had contact to my webhoster, he explained, that the query does not find any records, it keeps searching until time out (several seconds). If I run the querey in mysqladmin, it takes 0.004 seconds with result 0 records found.
    Is there a way to fix the update_history table?
    Thanks.
    I am afraid that you seem to have gotten ahold of someone at your hosting service that likes to pull your leg. If SQL does not find any records, it returns zero records, it does not (and would be nearly unusable if it did) continue searching until some arbitrary time out. This problem has nothing to do with the table itself, it is (from what I can gather from reading) a settings issue in the mysql.cnf file.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    Kappauf is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    Zurich
    Posts
    12

    Default Re: 4.2.1 SQL error (upgrade-history) on upgrade wizard

    excellent, now it works.
    My webhoster changed some timeouts in the mysql.cnf file.
    Thank you, kbril

  6. #6
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Talking Re: 4.2.1 SQL error (upgrade-history) on upgrade wizard

    Quote Originally Posted by Kappauf
    excellent, now it works.
    My webhoster changed some timeouts in the mysql.cnf file.
    Thank you, kbril
    Glad to help and that you had a webhoster that was willing to work with you.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •