Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Fun with Wordpress login credentials

So I've been trying to wrap my head around this for the past 2 hours playing around with phpmyadmin.

From what I gather from courses and what others have told me there's 2 sets of login credentials in Wordpress. One for Wordpress itself and one for mySQL. So credentials for setting up the database in phpMyAdmin and then setting up via Wordpress itself.

I have one login username, let's for the sake of argument say it's usernameOne that I use to login into the WordPress Admin and a record of which is in phpMyAdmin, but I don't actually remember setting this up.

For simplicity's sake is it best practice to use the same details for both processes? or is this dangerous? I'm trying to plan a workflow that isn't going to confuse me every time I make a Wordpress website.

Thanks :)

2 Answers

Austin Whipple
Austin Whipple
29,725 Points

Hi Jonathan,

You definitely shouldn't use the same password to set up the WordPress MySQL database and how you log in to the WordPress Dashboard. The MySQL password should be long and VERY secure as compromised access to a WordPress database could be disastrous. I believe WordPress has a secure password generator and some hosts include it in their database setup wizards. Copying and pasting this password into your wp-config file and forgetting it is usually the best way to go.

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Okay thanks, Yes I use the password generators in phymyadmin and mySQL and believe they are secure :) I also use keypass which holds all the passwords I use... lifesaver

The next thing is finding the time to do another Wordpress site for practice :)