Louise Posted July 13, 2018 Share Posted July 13, 2018 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 More sharing options...
Rolige Posted July 13, 2018 Share Posted July 13, 2018 Hi, I think is not a problem in the credentials, otherwise you could not have installed the PrestaShop, the problem could be internal un your local server. Regards! Link to comment Share on other sites More sharing options...
Louise Posted July 13, 2018 Author Share Posted July 13, 2018 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now