Need help on a database problem

Discussion in 'MySQL' started by sunny11, Nov 24, 2006.

  1. #1
    My website in these few days has frequently encountered display problem. All the pages cannot be displayed and the following message appeared:

    -----------------------------------------------------
    1030 - Got error 12 from storage engine

    select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = '1' and b.banners_id = bh.banners_id group by b.banners_id

    [TEP STOP]
    -----------------------------------------------------

    The latest time it appeared was 4 hours ago, the error message lasted for about 15 minutes and then the website worked normal again. However, the error message now reappear again and I don't know when it will become normal!

    Can anyone give me advice as to what's wrong with the problem? Is it a server side problem or is it due to the corruption of database? Any remedial measure to rectify the problem can be taken?

    My website is a instant download website of scripts and ebooks, all of the product, payment data are stored in the mysql database. All contribution are welcome. Thanks.
     
    sunny11, Nov 24, 2006 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    maiahost, Nov 24, 2006 IP
  3. thedark

    thedark Well-Known Member

    Messages:
    1,346
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    168
    Digital Goods:
    1
    #3
    probably you should change the hosting
     
    thedark, Nov 24, 2006 IP
  4. sunny11

    sunny11 Well-Known Member

    Messages:
    494
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #4
    The error message of the page change, now it becomes:

    ---------------------------------------------------
    Warning: mysql_connect() [function.mysql-connect]: Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug in /home/mydls2/public_html/includes/functions/database.php on line 12
    Unable to connect to database server!
    ----------------------------------------------------

    If this is really the hosting problem, I think I need to change another one. My present hosting is the lunarpages.com with cpanel. Does anyone has good suggestion?
     
    sunny11, Nov 24, 2006 IP
  5. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes switch hosts :) Or just contact them and ask them what the .... is wrong and where is the memory :)
     
    maiahost, Nov 24, 2006 IP
  6. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #6
    Unless it is your server to increase the memory allowance, you can ask your hosting provider but it may usually will answer that is not possible increase or override the limit for shared hosting accounts, so take the guys' advice and switch to another hosting :rolleyes:
     
    Mystique, Nov 24, 2006 IP