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!

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


When creating multiple wp projects is it best practice to use the same MySQL hosting database for all of them?

For example in the "setting up the environment" video we create a database called 'localwp' and associate a user account and password with it for our personal instance of the wp installation. But for future/new installations and separate projects for clients would you create a new database for each new project or would you simply use the same database to host multiple wp installs?

1 Answer

Antti Rokka
Antti Rokka
13,660 Points

You should create new database for every wordpress install. It does not really work if you try to use same database for multiple wordpress websites.