Page 1 of 1

Error after database password change

Posted: Wed Apr 24, 2013 3:15 am
by rgoodenough
Hi

Without thinking, I changed the MySQL database password for my opencart install on my website - so then it obviously wouldn't start.

However, I've now also changed the password in the config.php files (in the main directory and in /admin) - but it still won't start. Have I missed something?

The error starts ....

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ....

Many thanks
Bob

Re: Error after database password change

Posted: Tue Feb 18, 2014 7:07 pm
by Moogle Stiltzkin
did you find out how ? cause i need to know too.

Re: Error after database password change

Posted: Wed Feb 19, 2014 8:17 am
by rempong
The only place DB password saved in opencart instalation is config.php and admin/config.php

Please make sure you have correct database user / password

Re: Error after database password change

Posted: Wed Feb 19, 2014 1:20 pm
by butte
Actually, via phpMyAdmin (and other means) you can retrieve database credentials from inside .sql itself, and if you have access to execute server commands (to operating system and related software) you can throw your own weight as root, but, yes, generally keep track of your user/pass credentials.