Database error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chris11987
    Member
    • Jun 2008
    • 44
    • 3.7.x

    Database error

    Sometimes my forums get a db error. It usually would happen during a high traffic time, but now even happens at times like 1:00am when theres not as many users on. The db error I just got day was this:

    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

    Can anyone help me out and tlel me what causes that error and any ways that it can be fixed? I have a dedicated server, so I should be able to configure something, if suggested.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Assuming the db info in your config.php file is correct, this is a server issue. Please see this page for the causes of this 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

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...