Database Error Help please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mazztech
    New Member
    • Aug 2006
    • 1

    Database Error Help please

    Hello all, I keep on getting this Database error and i'm not sure how to fix the line of code here is the error i get:
    Database error in vBulletin :
    '
    mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Lost connection to MySQL server during query
    /home/zammmaz0/public_html/forum/includes/class_core.php on line 279

    MySQL Error :
    Error Number :
    Date : Friday, September 22nd 2006 @ 09:44:35 AM
    Script : http://www.****.com/forum/showthread...=lastpost&t=21
    Referrer :
    IP Address : **.**.***.***
    Username :
    Classname : vB_Database"

    And this is the line of code in class_core.php:
    "
    $link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
    "

    I'm not sure what I should put in for the server name, port, and username/pw. OR if i'm even suppost to change any of those. Please any help would be good.

    Side note: The forums seem to function properly from the GUI
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    See this page for possible causes of that error: http://www.vbulletin.com/docs/html/t...mysql_goneaway
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

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