Jump to content

Prestashop An error occurred during installation

Recommended Posts

I was trying to install the new latest release of Prestashop and i was getting this error at the final step.

ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away" ["exception" => PDOException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away"]


Can anyone tell me what seems to be the problem?

Share this post

Link to post
Share on other sites
2 hours ago, PrestaServicePro said:

Thanks a lot for your reply. I PHP script is given there but this time out problem should not be happening on prestashop, i guess. Can you kindly give me an idea if i have to change something on the pretashop code or update something on my web server? 


Thank you again

Share this post

Link to post
Share on other sites
On 1/6/2021 at 4:11 PM, PrestaServicePro said:

Contact your host provider and ask to increase it to the max value:

memory_limit = 512 M

max_execution_time = 300 second


That should do it, right? But, i am still facing the problem. 


Any idea, bro?

Share this post

Link to post
Share on other sites
  • 2 months later...
2 hours ago, Lucio Crusca said:

@num47 I'm facing the same problem as yours, tried the same solutions and I'm still stuck there. Did you manage to solve it?

To be honest, nope, couldn't find any solution. Most likely it was a problem with the server configuration. MySql connection wasn't keeping up long enough for the installation. I had to use softaculous to install it. Later, I have installed later by myself without facing any trouble. Maybe my server provider had fixed the issue by then. You try to install and see if you can install it without facing any trouble. If it shows you the problem then it could be the server that is causing the problem.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More