[Mediawiki-l] $dbr->selectDB

Jim Hu jimhu at tamu.edu
Sun Aug 26 15:09:45 UTC 2007

On Aug 25, 2007, at 2:59 PM, Rob Church wrote:

> On 25/08/07, Michael Daly <michaeldaly at kayakwiki.org> wrote:
>> But $wgDBprefix should be applied to all tables.  If you have a wiki
>> family sharing MySQL, the only differentiation between each member of
>> the family is the relative value of $wgDBprefix.  Hence the end  
>> result is
> This statement seems to assume that "wiki families" all exist in the
> same database, which is an odd assumption.

I've never actually used the database prefix option provided by the  
installer.  From later messages in the thread, it sounds like people  
use it for different language versions?  I'm not sure I understand  
why one would use it instead of just installing another MW database.   
Does wikipedia use these prefixes? Are there some shared tables that  
don't get prefixed?

> Rob Church
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128

More information about the MediaWiki-l mailing list