WordPress.org

Ready to get started?Download WordPress

Forums

Install just fine UNTIL I change the root SQL password (5 posts)

  1. ltacf
    Member
    Posted 1 year ago #

    I've read different answers to this issue but there are so many contextual differences and none have helped. Here is my context:

    Windows 7
    Installing EasyPHP (Apache and mySQL) on localhost
    user = root@localhost with no password
    WordPress 3.5 install

    I can successfully access WordPress and EasyPHP's MySQLAdministration but I see the following message:

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

    So I change my password in the WordPress wp-config.php. Then I start to lose access. So I try to also change the PHP file config.inc.php to also have the password for root. Still problems.

    I don't understand where root@localhost comes into play. Is it a WordPress file as well as a PHP file as well as a mySQL file? How does one secure the root account as suggested without losing access?

    Thanks,

    Linda

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Do you intend to open your local server to public access?

  3. ltacf
    Member
    Posted 1 year ago #

    No sir! My company has the production site installed which is secured. It is the test site, the one on my own hard drive where I have this issue. I realize that my own PC is not as important, but I still would like to protect it.

    Thanks in advance for any help,

    Linda

  4. Hashbrown044
    Member
    Posted 1 year ago #

    If I understand correctly, you only changed the password in your WP install(the config files). The WP password should match your mySQL password. Be sure to change the password in the mySQL environment too.

    Start your EasyPHP's MySQLAdministration and set the root password there as well.

  5. ltacf
    Member
    Posted 1 year ago #

    Hashbrown044,

    Thanks for the information. Will you provide more detail? There are at least two EasyPHP menu options that may apply: 1) the Administration menu option and 2) the Configuration menu option brings up another menu from which you can select mySQL to bring up the my.ini file.

    I don't know which file(s) to change in the "mySQL environment" and I don't which file(s) to change in the MySQLAdministration.

    Thanks in advance,

    Linda

Topic Closed

This topic has been closed to new replies.

About this Topic