Database error in vBulletin :

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xmutan
    Member
    • Jan 2008
    • 65

    Database error in vBulletin :

    Code:
    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' (2)
    /home/modifik/public_html/includes/class_core.php on line 311
    
    MySQL Error   :
    Error Number  :
    Request Date  : Wednesday, August 20th 2008 @ 12:14:06 PM
    Error Date    : Wednesday, August 20th 2008 @ 12:14:06 PM
    Script        : [URL]http://www.modifikasi.com/image.php?u=24973&dateline=1217862097[/URL]
    Referrer      : [URL]http://www.modifikasi.com/showthread.php?t=39529[/URL]
    IP Address    : [URL="http://125.160.104.67/"]125.160.104.67[/URL]
    Username      :
    Classname     : vB_Database
    MySQL Version :
    how to fix this?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    That is a generic database connection error. That either means the information in your includes/config.php file is wrong (contact your host to verify the correct info) or if the error is intermittent then it might mean the database server is having uptime or connectivity problems (contact your host).

    Comment

    • xmutan
      Member
      • Jan 2008
      • 65

      #3
      I own my server, but i don't really have experience in linux.
      so what should i do to fix this?
      what effect takes from this error?

      thanks

      Comment

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

        #4
        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...