Changing Your Database Password

We are serious about our passwords here at easyPress. You might have noticed our 23 random character passwords for your WordPress admin user we generated during the installation of your site. That’s the kind of password that will keep your site safe from brute force and dictionary attacks. The random.org site provides some tools for generating super long passwords.

So why would you ever want to change your database password? Typically you won’t ever need to because we set it initially during installation to another unique 23 random character string. But, there might be a good reason to change it. The one that comes to mind is Heartbleed. We wrote about Heartbleed just a few minutes ago and realized that we might need to provide some instructions on how to reset your database password. So, here we go…

Changing Your Database Password

Warning: Changing your database password can disable your site. Make sure you know what you are doing or email us if you need help

  1. Log into adminer. For example, if your site is example.com then go to https://example.com/adminer/.
  2. You can get your DB username and current DB password by SFTP’ing to your site and looking in your wp-config.php file which is located in the wordpress directory.
  3. Click on the “Privileges” link
  4. Click on the “Edit” link beside “localhost”
  5. Make sure the “Hashed” checkbox is unchecked
  6. Use random.org to generate some random passwords and use one of those by copying and pasting it into the Password field the scroll to the bottom and click Save button while simultaneously…
  7. Pasting the password you just set in adminer into your wp-config.php file on the line with define(‘DB_PASSWORD’, ‘password’); by replacing “password” with the new password
Top