[drupal-support] $db_prefix = array();

William Meertens nuke at meewi.be
Fri Jun 3 18:12:45 UTC 2005


Hi all,

As I'm building a multiple domain site with one database I was wondering which tables can be shared without problems.

The background :
- Each site has it's own content, menu and blocks
- Each site statistics and, watchdog or related should be separated
- All the rest can be the same if possible

As an example, I was under the believe that I could share the users table. Since every site has the same users. Only the blocks table is connected in some way to the users table.

In every documentation I always find this combination :
$db_prefix = array(
    "default" => "content_only_",
    "users" => "master_",
    "sessions" => "master_",
    "role" => "master_",
    "authmap" => "master_",
    "sequences" => "master_"
);

If doing that I can't change the blocks for each different site. When changing them for one site, they are changed for the other one to. And that's what's troubling me the most.

Thank in advance,
William. 


-- 
                           \|/ ____ \|/    _     _             `  _  '
                 ////       @~/ ,. \~@   o' \,=./ `o          -  (_)  -
                (o -)      /_( \__/ )_\     (o o)               '   `
+-----------ooO--(_)--Ooo-----\__U_/----ooO--(_)--Ooo------------------+
http://www.meewi.be                                       SMILE
http://www.ladiescycling.net                       it cost nothing and
http://www.hostinglc.net                           it's beyond price !
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://drupal3.drupal.org/pipermail/support/attachments/20050603/da1a0f02/attachment.pgp


More information about the drupal-support mailing list