Results 1 to 5 of 5

database error

This is a discussion on database error within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hi , i get this database error during generating the sitemaps from 2009-03-12 right after this : [SECTION START] showthread ...

  1. #1
    Member
    Real Name
    Mecho
    Join Date
    Dec 2007
    Location
    Iran
    Posts
    86
    Liked
    0 times

    Question database error

    Hi ,

    i get this database error during generating the sitemaps from 2009-03-12 right after this :
    [SECTION START] showthread [6,200.9Kb mem used] [315,176s (+315,176s)]
    [SECTION START] member [6,432.0Kb mem used] [315,180s (+4s)]
    Database error in vBulletin 3.8.1:

    Invalid SQL:
    SELECT userid, username, posts FROM user ORDER BY posts DESC;

    MySQL Error : Lost connection to MySQL server during query
    Error Number : 2013
    i know this is kind of server problem, tried to resolve but i couldnt .

    Any help would be great .
    Thanks

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Looks like you have a LOT of urls in your sitemap.

    I'd suggest deleting all the .xml.gz files that have been created.
    then, adjust some settings. MAke sure the txt format sitemap is disabled, along with some other 'bloat' pages (see my guide for more suggested settings).


    If you run your own server, you can also try to increase your wait_timeout setting in my.cnf and consider raising your max_execution_time in php.ini

  3. #3
    Member
    Real Name
    Mecho
    Join Date
    Dec 2007
    Location
    Iran
    Posts
    86
    Liked
    0 times
    yeah we have lots of urls .

    i have been reading ur very useful Guide and make done most of them . txt format is disable for long time . no old urls included too .

    I have my own very Strong server . there is not timeout setting in my.cnf at all . what setting u would suggest ?

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    that really depends on your server (ram, procs, etc)

    head on over the vb.com and put in a server optimization request with eva2000

  5. #5
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    In order to get vBSEO Sitemap Generator correctly you should set wait_timeout to a value between 150 - 200
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

Similar Threads

  1. Database error
    By barbaro in forum General Discussion
    Replies: 2
    Last Post: 02-07-2009, 03:30 PM
  2. Getting a database error
    By gc1 in forum Troubleshooting
    Replies: 2
    Last Post: 12-16-2008, 10:03 AM
  3. Database error
    By 1QuickSI in forum Bug Reporting
    Replies: 1
    Last Post: 10-13-2008, 07:09 PM
  4. Database error.
    By ChefTalk in forum Troubleshooting
    Replies: 3
    Last Post: 03-24-2007, 01:05 PM
  5. database error
    By AndyS in forum Troubleshooting
    Replies: 5
    Last Post: 07-15-2006, 11:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •