DataBase Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacki
    Member
    • Jun 2006
    • 82
    • 3.5.x

    DataBase Error

    Hi,
    I moved my forum my linux server but ever few days db error occurs by itself. How can I understand why this error occurs?
    Yorumla.net
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    What are the exact errors? The source code of the error page should contain the exact error.

    Comment

    • jacki
      Member
      • Jun 2006
      • 82
      • 3.5.x

      #3
      <!--
      Database error in vBulletin :
      mysql_connect() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]: Too many connections
      /var/www/vhosts/site.net/httpdocs/includes/class_core.php on line 271
      MySQL Error :
      Error Number :
      Date : Saturday, September 30th 2006 @ 09:48:01 AM
      Script : http://www.site.net/
      Referrer :
      IP Address : 85.98.xxx.xxx
      Username :
      Classname : vb_database
      -->
      Yorumla.net

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        The server has maxed out the number of MySQL connections it allows. This is a server-wide limit, not just your forums. You can try turning persistent connections off in your config.php:

        $config['MasterServer']['usepconnect'] = 0;

        But if you still have problems after that, all you can do is ask your host to raise the maximum number of connections they allow.

        Here is more info on that error:

        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • jacki
          Member
          • Jun 2006
          • 82
          • 3.5.x

          #5
          this connections are off now but I again face this database error at least twice a day
          Yorumla.net

          Comment

          • Marco van Herwaarden
            Senior Member
            • Nov 2004
            • 6999
            • 3.8.x

            #6
            See Steve's reply in post #4
            Want to take your board beyond the standard vBulletin features?
            Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

            Comment

            • Pottsy
              Member
              • Sep 2006
              • 37
              • 3.6.x

              #7
              I have this problem, and my (very helpful) host assures me that I now have "unlimited connections" on my fairly small forum. Seems a bit odd...

              Comment

              • Steve Machol
                Former Customer Support Manager
                • Jul 2000
                • 154488

                #8
                There is no such thing as 'unlimited connections'. Your host either doesn't know what he is talking about or is not being truthful.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment

                • jacki
                  Member
                  • Jun 2006
                  • 82
                  • 3.5.x

                  #9

                  I made this option maksimum but this error happened again. This error makes apachie out of service not mysql. There are 400 users and guests more than 600. my cookie time is 15 minutes. do you advise me other ways, what can be the reason for this error.
                  Yorumla.net

                  Comment

                  • Marco van Herwaarden
                    Senior Member
                    • Nov 2004
                    • 6999
                    • 3.8.x

                    #10
                    The error you have posted is a MySQL error and not a webserver problem. By restarting the webserver, you will however also reset the connections to MySQL PHP had open.

                    But to fix it you will need to change the MySQL configuration.
                    Want to take your board beyond the standard vBulletin features?
                    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

                    Comment

                    • jacki
                      Member
                      • Jun 2006
                      • 82
                      • 3.5.x

                      #11
                      Hi,
                      I changed my server settings like you said but I get the same error. Apache processes are redouble so much load avarage and use so much ram and cpu. When I closed and opened apache, it turns normal.
                      Last edited by jacki; Fri 13 Oct '06, 6:29am.
                      Yorumla.net

                      Comment

                      • jacki
                        Member
                        • Jun 2006
                        • 82
                        • 3.5.x

                        #12
                        please help me
                        Yorumla.net

                        Comment

                        • Steve Machol
                          Former Customer Support Manager
                          • Jul 2000
                          • 154488

                          #13
                          If you are getting the same error, then this has already been answered in post #4. If you are getting a different error, then please post it.
                          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                          Change CKEditor Colors to Match Style (for 4.1.4 and above)

                          Steve Machol Photography


                          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                          Comment

                          • jacki
                            Member
                            • Jun 2006
                            • 82
                            • 3.5.x

                            #14
                            may problem cause that?
                            how can i set the maximum limit for apache
                            my apache and mysql hangs on same times of the day.
                            i use vbseo on vbulletin.. I see when google boots come to check my forum, it hangs.
                            what can i do for this, can you help me please?
                            my os is centos 3.6
                            1 gb ram amd 3200+
                            Yorumla.net

                            Comment

                            • Steve Machol
                              Former Customer Support Manager
                              • Jul 2000
                              • 154488

                              #15
                              Sorry I don't understand. Please reread post #13 again.
                              Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                              Change CKEditor Colors to Match Style (for 4.1.4 and above)

                              Steve Machol Photography


                              Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎