Jump to content

Database connection


Recommended Posts

I have made an installation of Prestashop 1.7.3.3 locally on my computer. Everything works fine here.

I have now uploaded the shop to my host but when I try to reach admin, I receive this error message :

Link to database cannot be established: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)
at line 120 in file classes/db/DbPDO.php

I have edited the app/config/parameters.php file with the right information. So I dont understand why it still points to '127.0.0.1' .

Could some of you clever people help?

Link to comment
Share on other sites

Thank you for your quick reply.

Sorry, it was me, who was an idiot. Of some reason, I managed to upload the wrong parameters.php file to my webhost folder. I was completely sure that I had uploaded the edited file. But i hadn't.

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...