fahmi474 Posted July 25, 2019 Share Posted July 25, 2019 (edited) 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 August 4, 2019 by fahmi474 (see edit history) Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 26, 2019 Share Posted July 26, 2019 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 More sharing options...
fahmi474 Posted July 26, 2019 Author Share Posted July 26, 2019 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 More sharing options...
PeterDesouza Posted July 26, 2019 Share Posted July 26, 2019 Does new user has access to DB? if yes then can't say without checking files and DB. You can PM me at [email protected] if needed. Thanks Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted July 26, 2019 Share Posted July 26, 2019 (edited) 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 July 26, 2019 by Nishith (see edit history) 1 Link to comment Share on other sites More sharing options...
fahmi474 Posted August 4, 2019 Author Share Posted August 4, 2019 On 7/26/2019 at 2:14 PM, Nishith said: Hi.. Delete "dev" and "prod" folder inside "var\cache" directory and see the result Thanks It works, thanks. you solve my problem. Link to comment Share on other sites More sharing options...
fahmi474 Posted August 4, 2019 Author Share Posted August 4, 2019 On 7/26/2019 at 12:58 PM, PeterDesouza said: Does new user has access to DB? if yes then can't say without checking files and DB. You can PM me at [email protected] if needed. Thanks Thanks a lot, it has been solved. Link to comment Share on other sites More sharing options...
leobardo Posted February 3 Share Posted February 3 on /app/config/parameters.php try changing the 'database_host' => 'xxx.xxx.xxx.xxx', to 'database_host' => 'localhost', 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