Jump to content

How to change database password Prestashop 1.5


Recommended Posts

Hi,

You need to edit the file name  "settings.inc.php" and change the password of the database on PrestaShop version 1.5 from _DB_PASSWD_

Below is the code example.

define('_DB_SERVER_', '127.0.0.1');
define('_DB_NAME_', 'test_ZGFNn');
define('_DB_USER_', 'test_RvEVe');
define('_DB_PASSWD_', 'AGdG5ea6W');

Also, if you want to change the database password, then you can do using the Cpanel of the web hosting account inside the MySQL section.

Edited by Zohaib-fk
Post Updated (see edit history)
  • Like 1
Link to comment
Share on other sites

20 hours ago, Zohaib-fk said:

Hi,

You need to edit the file name  "settings.inc.php" and change the password of the database on PrestaShop version 1.5 from _DB_PASSWD_

Below is the code example.

define('_DB_SERVER_', '127.0.0.1');
define('_DB_NAME_', 'test_ZGFNn');
define('_DB_USER_', 'test_RvEVe');
define('_DB_PASSWD_', 'AGdG5ea6W');

Also, if you want to change the database password, then you can do using the Cpanel of the web hosting account inside the MySQL section.

Thank u so much for your reply! I will check it asap

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