Announcement

Collapse
No announcement yet.

MySQL Connection Failed: Too many connections

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

  • MySQL Connection Failed: Too many connections

    "Warning: MySQL Connection Failed: Too many connections in /home/virtual/site1/fst/var/www/html/msgboard/admin/db_mysql.php on line 40"

    Does anyone know how I can fix that? I have a dedicated 1.2 AMD Server with 1 gig of ram from Rackshack.

  • #2
    The server has maxed out the number of MySQL connections it allows. You can try turning persistent connections off in your config.php:

    PHP Code:
    // use persistant connections to the database
    // 0 = don't use
    // 1 = use
    $usepconnect 0
    But if you still have problems after that, you'll need to edit php.ini to raise the number of allowed connections. Here is more info on that error:

    http://www.mysql.com/doc/T/o/Too_many_connections.html
    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...
    X