From: Manuel V. <man...@st...> - 2004-11-26 08:42:24
|
Reini Urban wrote: > Manuel VACELET schrieb: > >> In order to be able to run multiple instances of PhpWiki based on the >> same sources and the same DB, I want to modify WikiDB and >> corresponding backends (at beginning PearDB) to add an unique id for >> each PhpWiki instances. > > > why? don't do that! > just define a different DATABASE_PREFIX for each wiki and generate the > tables with these prefixes. I want to offer phpwiki servicies to mutiple groups (I'm looking around gforge wiki plugin). For security reason I have to separate content of each instances of PhpWiki. I can have thousand instances of phpwiki so it imply ten thousand mysql tables. I already (successfully) tested database prefix but I think next phpwiki updates (with db schema upgrades) will be a little bit complicated. But it's just "feeling" about possible issues, I don't really have examples of "Why I think that it could be a problem?" Regards, Manuel |