I am hosting web at infinityfree. I am using wordpress and I have made mysql. But half of time that I want to access my site I get error from wordpress Can’t connect to database. I have also deleted and recreated database (with backup) but it haven’t worked.
Please help me.
Have you checked the login details?
This was the first thing I have checked and everything is correct
What is the URL of your website?
I have figured out what was the problem. I had some wordpress files duplicated so there were more things trying to reach database and I haven’t noticed that.