Jump to content

Prestashop is slow because of the slow MySQL queries


milad123

Recommended Posts

I have a website built by Prestashop 1.6. It's very slow because of the slow mysql queries.

There is not issue with RAM, CPU or I/O. I tested the same queries in mysql client and PHP. They were fine and fast.

But why is it that the queries in Prestashop are slow?

It take too long for my website to response to the requests. Usually 5 to 10 seconds. But I've seen 100+, 50 and 20 seconds too. And sometimes it returns this error:

Link to database cannot be established: SQLSTATE[HY000] [2002] No such file or directory

I use Ubuntu.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...