Announcement

Collapse
No announcement yet.

db_mysql.php on line 40

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

  • db_mysql.php on line 40

    Hi, when attempting to access my board I get this error message
    Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
    in /home/sites/site55/web/forums/admin/db_mysql.php on line 40

    There seems to have been a slight problem with the database.
    Please try again by pressing the refresh button in your browser.

    An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

    We apologise for any inconvenience.
    The source of the page reads:
    Code:
    <br>
    <b>Warning</b>:  MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
     in <b>/home/sites/site55/web/forums/admin/db_mysql.php</b> on line <b>40</b><br>
    <html><head><title> Database Error</title><style>P,BODY{FONT-FAMILY:tahoma,arial,sans-serif;FONT-SIZE:11px;}</style><body>
    
    <!-- Database error in vBulletin :
    
    Link-ID == false, connect failed
    mysql error: 
    
    mysql error number: 
    
    Date: Wednesday 02nd of January 2002 11:05:23 PM
    Script: /forums/
    Referer: 
     -->
    
    </table></td></tr></table></form>
    <blockquote><p>&nbsp;</p><p><b>There seems to have been a slight problem with the  database.</b><br>
    Please try again by pressing the <a href="javascript:window.location=window.location;">refresh</a> button in your browser.</p>An E-Mail has been dispatched to our <a href="mailto:[email protected]">Technical Staff</a>, who you can also contact if the problem persists.</p><p>We apologise for any inconvenience.</p></blockquote></body></head></html>
    Can you tell me what is wrong please?

  • #2
    you need to contact your web host to restart mysql

    if that doesn't work you need to check the location path to mysql.sock is correct and maybe need to sym link it to from /tmp/mysql.sock (ask your web host about that if you don't have root server access via shell/telnet/ssh)
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment


    • #3
      Thanks for the quick reply

      Wish our host was as quick

      Comment


      • #4
        Originally posted by Figment
        Thanks for the quick reply

        Wish our host was as quick
        give them time i say within 6 - 24 hrs is an okay time
        :: Always Back Up Forum Database + Attachments BEFORE upgrading !
        :: Nginx SPDY SSL - World Flags Demo [video results]
        :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

        Comment


        • #5
          6 - 24 days more like

          Comment

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