[wp-hackers] Multiple installations with same tables

scribu scribu at gmail.com
Wed Aug 25 17:29:12 UTC 2010


On Wed, Aug 25, 2010 at 8:08 PM, Vinicius Massuchetto <
viniciusandre at gmail.com> wrote:

> I run a server with multiple git projects as WP installations. I want
> developers to be able to clone these repositories and have them
> working in their localhosts connecting to the same tables that the
> original project does, once the development strictly depends of the
> contents of this database.
>

Just set the DB related constants in the wp-config.php file to the same
database.

The DB_HOST will have to point to your db server, which has to be configured
to accept remote connections.

-- 
http://scribu.net


More information about the wp-hackers mailing list