I was wondering if it is possible to have multiple WordPress websites installed using the same database and database user.

For example, I have site 1 and site 2 - www.site1.com and www.site2.com respectively. Both will have different content. Can I install both sites to share the same database and database user? Assuming I am unable to create a db and user for each website.

2 Answers 2


Yes You can do it.

You use two different prefixes for both sites in database.


You can use WordPress multisite

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.