Jump to content

Set a password in phpmyadmin


Recommended Posts

I have a localhost set up with xampp and when i made the prestashop database, i did not set a password in phpmyadmin. The warning is as follows:

 

Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.

 

Im wondering, if i set a password now, what do i need to change in prestashop in order to let prestashop communicate with the database?

Link to comment
Share on other sites

Im wondering, if i set a password now, what do i need to change in prestashop in order to let prestashop communicate with the database?

 

Hi animuz1. Just edit PrestaShop's file config/settings.inc.php:

 

 

define('_DB_PASSWD_', 'YOUR_MYSQL_PASSWORD_GOES_HERE');
  • Like 1
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...