database error emails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • owlbassboy
    New Member
    • Dec 2010
    • 28
    • 4.1.x

    [Forum] database error emails

    ok i got up today to 4 emails about database errors from the forum

    Database error in vBulletin :

    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/ste/public_html/forum/includes/class_core.php on line 314

    MySQL Error :
    Error Number :
    Request Date : Wednesday, January 12th 2011 @ 04:51:18 PM
    Error Date : Wednesday, January 12th 2011 @ 04:51:20 PM
    Script : http://thenanoreef.co.uk/forum/showt...ys-nano/page11
    Referrer :
    IP Address : 95.108.157.252
    Username :
    Classname : vB_Database
    MySQL Version :
    Database error in vBulletin :

    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/ste/public_html/forum/includes/class_core.php on line 314

    MySQL Error :
    Error Number :
    Request Date : Wednesday, January 12th 2011 @ 04:51:18 PM
    Error Date : Wednesday, January 12th 2011 @ 04:51:20 PM
    Script : http://thenanoreef.co.uk/forum/showt...530&viewfull=1
    Referrer :
    IP Address : 66.249.71.43
    Username :
    Classname : vB_Database
    MySQL Version :
    Database error in vBulletin :

    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/ste/public_html/forum/includes/class_core.php on line 314

    MySQL Error :
    Error Number :
    Request Date : Wednesday, January 12th 2011 @ 10:49:33 PM
    Error Date : Wednesday, January 12th 2011 @ 10:49:33 PM
    Script : http://thenanoreef.co.uk/forum/showt...410&viewfull=1
    Referrer :
    IP Address : 66.249.71.43
    Username :
    Classname : vB_Database
    MySQL Version :
    Database error in vBulletin :

    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/ste/public_html/forum/includes/class_core.php on line 314

    MySQL Error :
    Error Number :
    Request Date : Wednesday, January 12th 2011 @ 10:49:35 PM
    Error Date : Wednesday, January 12th 2011 @ 10:49:35 PM
    Script : http://thenanoreef.co.uk/forum/
    Referrer :
    IP Address : 66.249.71.43
    Username :
    Classname : vB_Database
    MySQL Version :
    i have no idea what has caused these. i have read here http://dev.mysql.com/doc/refman/5.1/...to-server.html but it has just really confused me, can anyone give me that in laymans terms
  • orillia
    New Member
    • Dec 2010
    • 9
    • 4.1.x

    #2
    I received six of these this morning, after upgrading a client's forum last night. My spidey sense says it's because I used a shortcut, and uploaded MY install archive to his server, and validated the upgrade with MY customer number. What baffles me is that the config.php file was correctly configured. But somehow HIS server picked up on MY e-mail address and database name.

    Hopefully a guru here can explain how this could happen. I re-upgraded the client's site with his own install archive and customer number, and we will see if the error reappears.

    I wonder if it's possible that my ftp client cached the file last night before I was done editing it. For the life of me, I can't see how else this could be happening. And I deleted the one off the server instead of inspecting it first. So now I will never know.
    Last edited by orillia; Thu 13 Jan '11, 6:28am. Reason: hmmm

    Comment

    • owlbassboy
      New Member
      • Dec 2010
      • 28
      • 4.1.x

      #3
      i havent been changing anything on the server, oh actually i did add in a .htaccess file to change mod_security. could that have affected it?

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        MySQL can't connect (through socket):

        See this page for the causes of this error: http://www.vbulletin.com/docs/html/cantconnect

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • owlbassboy
          New Member
          • Dec 2010
          • 28
          • 4.1.x

          #5
          yeah the link at the bottom of my post it the link from your link and it doesnt make any sense

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            Basically, if the information in your config.php file is correct, then this is a server issue and you should talk to your host about it.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            • owlbassboy
              New Member
              • Dec 2010
              • 28
              • 4.1.x

              #7
              ok brilliant ill have a chat with him and see where it gets me.

              Comment

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