Announcement

Collapse
No announcement yet.

Database error on 4.1.7 patch 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Videx
    replied
    FWIW, Since our shared server upgraded to the latest mysql5, we get "too many connections" sometimes several times a day. Apparently it doesn't bother vb though, as it just keeps trying until it gets a connection.

    Leave a comment:


  • HMBeaty
    replied
    Originally posted by Cornolio View Post
    Does it mean that i've simply reached the maximum of connections granted by the host? So.. the vb version is not related to this?
    Correct

    Leave a comment:


  • Cornolio
    replied
    Yes i already checked config, persistent connections are already off

    Does it mean that i've simply reached the maximum of connections granted by the host? So.. the vb version is not related to this?

    Leave a comment:


  • kolenoblata
    replied
    You need to ask your host to increase max_connections.
    If that doesn't help, you can try turning persistent connections off by ensuring this line is set as follows in your config.php:

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

    Leave a comment:


  • Cornolio
    started a topic [Forum] Database error on 4.1.7 patch 2

    Database error on 4.1.7 patch 2

    Hi, since this morning i've got this database error

    Code:
    Database error in vBulletin :
    
    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
    /var/www/shared/discutere_it/[URL="http://discutere.it/htdocs/includes/class_core.php"]discutere.it/htdocs/includes/class_core.php[/URL] on line 314
    
    MySQL Error   :
    Error Number  :
    Request Date  : Sunday, November 13th 2011 @ 11:55:02 AM
    Error Date    : Sunday, November 13th 2011 @ 11:55:02 AM
    Script        : [URL]http://www.discutere.it/[/URL]
    Referrer      :
    IP Address    : 151.62.7.73
    Username      :
    Classname     : vB_Database
    MySQL Version :
    I've just updated from 3.8 (4 days ago) and it's been a long time since i didn't see such error

    unfortunately i'm from my netbook so i don't have all the instruments. i downloaded class_core but with wordpad i can't find the line...

Related Topics

Collapse

Working...
X