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 Installing WordPress Locally Installing WordPress Locally Setting up the Environment

Best practices for local development. Is it ok to share one user for multiple DB's?

Context: Let's say I'm developing a theme for client A, and a theme for client B. I'm developing these themes locally. I've set up two separate folders, each with their own WP install and DB.

For convenience, is it ok to share one user & password for both installs and DB's?

1 Answer

If this is on your local machine then I don't see why not. Once you go to a staging or production server then the details will change and it's best to use different credentials then.