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

XF 1.5 Can't connect to local MySQL server

Discussion in 'Troubleshooting and Problems' started by boeing747, Jul 20, 2016.

  1. boeing747

    boeing747 Member

    Hi guys,

    Im getting this error since yesterday, it kills my server and increases the load of it. do you have any suggestion or solution?

    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) - library/Zend/Db/Adapter/Mysqli.php:333

    request state:
    array(3) {
    ["url"] => string(48) "http://forum.***.com/index.php?liveupdate"
    ["_GET"] => array(1) {
    ["liveupdate"] => string(0) ""
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(22) "/find-new/311428/posts"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"

  2. Brogan

    Brogan XenForo Moderator Staff Member

    If it's only happening with that URL (liveupdate), you would need to post on the add-on thread for support.

    However, you have other problems.
    I get this when visiting your site:
    An unexpected database error occurred. Please try again later.
    <!-- Mysqli prepare error: Unknown storage engine 'InnoDB' -->
    Contact your host as something has changed on the server - InnoDB support is required for some tables.
  3. boeing747

    boeing747 Member

    Most of the time the URl is the one that I mentioned but im sure there are another URLs with same problem.

    That time the server had restarted but know this problem has solved.

Share This Page