how to share tables of contributed modules across sub-domains
pmomidi - April 26, 2008 - 19:54
I am working with subdomains, by following the instructions in the below URL.
I am able to share the user information and session across multiple sub-domains, but now when I enable a contributed module across multiple domains, they all try to use the same table which causes a conflict.
How can I make sure the tables created by contributed modules on each sub domain has a "prefix" created for them, which will make sure there is no conflict across sub-domains ?

=-=
If you've not seen it yet, in the settings.php file is an array to help you share tables across installations.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
(no title)
I guess you have already used shared and separate tables with their own prefixes in settings.php to do your users and sessions sharing. Any new module you install will use the prefix which you have set as 'default'.
So, if you want each site to use its own tables for new modules, the 'default' must be the non-shared prefix, which should be different in each site's setings.php file.