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

Lost connection to MYSQL server ERROR and site down!

Discussion in 'Troubleshooting and Problems' started by franziska, Jan 15, 2013.

  1. franziska

    franziska Member

    I'm really really hoping that someone can help me with this.
    For the last couple of hours my site has been down and the error logs show the below error.
    The last thing I did was install and run Add Ons :
    - Description for RSS 1.2 and
    - Sitemap for XenForo 1.2.0

    I understand that running the sitemap probably slowed the site down but the cron job has finished running and the site is still down. I can access Admin but not the forum. It just shows a blank screen.
    I would very much appreciate if someone could lead me in the right direction.

  2. franziska

    franziska Member

    Update: Finally solved it.
    In case anyone happens to come across the same problem, my issue had nothing to do with the database.
    *Somehow* there was an empty index file in the forum root. I have no idea how it got there, or why it was empty but once it was replaced, everything worked again.

    I'm still puzzled at how the problem occurred. Would be good to know to prevent it in the future.
    I can't rule out human error - I'm still new to Xenforo so probably bungled something up without realizing it.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    An empty index file should have nothing to do with this error.

    This exact error was recently reported to me via PM. My replies to that PM:

    He said recreating the MySQL user appears to have fixed the error.
  4. franziska

    franziska Member

    Thanks for the info Jake. I had searched google for hours with no luck.
    Very odd though. In the end I had finally contacted my hosting provider. They had said there was nothing wrong with mysql. And when I asked what they had done to get it back online, told me they had replaced the index file in the root directory. Didn't make sense to me but assumed they knew more than I did.

    I'll check the above MySql settings. This isn't a problem I want happening again.

Share This Page