1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Big Issue!!!!!

Discussion in 'Troubleshooting and Problems' started by Matthew2D, Apr 3, 2012.

  1. Matthew2D

    Matthew2D Active Member

    I get this when I go to my forum. Need help!!!! Please!!

    An exception occurred: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mcwh/public_html/Forum/forums/library/Zend/Db/Adapter/Mysqli.php on line 333
    1. Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315
    2. Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 553
    3. XenForo_Application->loadDb() in XenForo/Application.php at line 780
    4. XenForo_Application->lazyLoad() in XenForo/Application.php at line 810
    5. XenForo_Application::get() in XenForo/Application.php at line 1099
    6. XenForo_Application::getDb() in XenForo/Error.php at line 47
    7. XenForo_Error::unexpectedException() in XenForo/Application.php at line 295
    8. XenForo_Application::handleException()
     
  2. MattW

    MattW Well-Known Member

    Is MySQL actually running on the server?
     
  3. Matthew2D

    Matthew2D Active Member

    Not sure. I think so.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Doesn't look like it. Your host might be performing maintenance in which case the error would be temporary. If it persists then you need to contact your host to restart the server (or at least restart the MySQL service).
     
  5. Matthew2D

    Matthew2D Active Member

    I'm on live support for my host right now.
     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    I get that as well for your site.
     
  7. Matthew2D

    Matthew2D Active Member

    The chat guy says he doesn't think the host is on maintenance.
     
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Well, the connection to the MySQL server is failing. The MySQL info is defined in your library/config.php file. The error indicates that it can't even connect to the host, let alone authenticate. So either your host / port is wrong in the config file or the MySQL server is down at the web host.
     
    mrGTB and wickedstangs like this.
  9. Matthew2D

    Matthew2D Active Member

    I know for a fact that it isn't wrong. I checked the config before I posted this thread, but I'll look in the cpanel and see if the database is there.
     
  10. Matthew2D

    Matthew2D Active Member

    OH!!!!! I get this when i go to the mysql tables list

    The MySQL® server is currently offline.
     
  11. Matthew2D

    Matthew2D Active Member

    There running a maintenance. All is well. :)

    "The servers listed above will be brought down April 2nd between 10pm-6am CST for scheduled maintenance. The outage per server should only be 10-20 minutes each. We will update here with new information as we have it.

    We appreciate your patience and understanding."
     
  12. MattW

    MattW Well-Known Member

    That will do it then! ;)
     

Share This Page