[Mediawiki-l] Is there any reason to use a table name prefix if you don't have to?

Brion Vibber brion at wikimedia.org
Wed Feb 6 22:16:43 UTC 2008


David A. Desrosiers wrote:
>> I would like to ask the philosophical question of whether using a 
>> table prefix like "mw_" is of any use later? I have pretty much full 
>> control of my box, can have as many MySQL databases as I like 
>> (including dev, test and live ones).
> 
> Currently all maintenance tasks are hard-coded with the standard table 
> names. I've run into this and been bitten by it far too many times.

All the updaters run the raw SQL files through a filter to add the table 
prefixes and table type options.

Unless you're manually running them, there's no need to edit anything.

-- brion vibber (brion @ wikimedia.org)



More information about the MediaWiki-l mailing list