animuz1 Posted November 24, 2014 Share Posted November 24, 2014 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 More sharing options...
Tung at RockPOS.com Posted November 25, 2014 Share Posted November 25, 2014 Yes and No. If you are using non-root user for Prestashop, the answer is No. Otherwise, it's Yes. Link to comment Share on other sites More sharing options...
parsifal Posted November 28, 2014 Share Posted November 28, 2014 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'); 1 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