Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.