can I have one db for multiple wordpress sites but multiple wp codes/installations
I need
- few Wordpress sites for testing purposes.
- It would be great if I can use only one db
- but I nee开发者_开发百科d few wordpress codes/instalations (because I need different settings and plugins for each site.
Can I have all that running on one mySQL db? Would use the same db_name, db_user, db_password, etc… and the only thing I change for the every other blog is the prefix?
It should be perfectly possible. when you setup wordpress there's a field to specify the table prefix (default is wp_) when setting up the database. These settings are also stored in wp-config.php
精彩评论