Jump to content

[SOLVED] Prestashop 1.7 database won't change


fahmi474

Recommended Posts

I have edited my db connection in app/config/parameter.php
I checked in cache/cache and cache/compile there is no cache file
however, I still got error with my old user and db setting

 

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'wjsneake_pres582'@'localhost' (using password: YES)
at line 127 in file classes/db/DbPDO.php


anyone, please help

Edited by fahmi474 (see edit history)
Link to comment
Share on other sites

13 hours ago, fahmi474 said:

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'wjsneake_pres582'@'localhost' (using password: YES)
at line 127 in file classes/db/DbPDO.php


Make sure you have filled correct DB name, user, password fields.
Also cross check database_host.

If all details are correct then It will surely work.

Link to comment
Share on other sites

27 minutes ago, PeterDesouza said:

Make sure you have filled correct DB name, user, password fields.
Also cross check database_host.

If all details are correct then It will surely work.

thanks for your response.
I am sure I've put the correct details, but the error show me my old connection detail.
I've changed 'wjsneake_pres582' with new user but the error still show the old one.

Link to comment
Share on other sites

15 hours ago, fahmi474 said:

I have edited my db connection in app/config/parameter.php
I checked in cache/cache and cache/compile there is no cache file
however, I still got error with my old user and db setting

 

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'wjsneake_pres582'@'localhost' (using password: YES)
at line 127 in file classes/db/DbPDO.php


anyone, please help

Hi..
Delete "dev" and "prod" folder inside "var\cache" directory and see the result
Thanks

Edited by Nishith (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 4 years later...

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