Loading...
 
Skip to main content

Architecture / Installation


Adding Table Prefixes

I did some searching but wasn't able to find any information on adding table prefixes to the generated table names when installing on a host that only permits one MySQL database. Something along the lines of a config variable somewhere like $db_table_prefix = "Tiki_" so all the Tikiwiki tables could be generated and accessed w/o concern for table name collisions with other existing tables.

Thanks,
Rocky

In tiki1.10 (a dev version not a production version), it has been developped
By adding the following to each local.php:
$db_table_prefix - base table prefix
$common_users_table_prefix - common "users" prefix

Perhaps it can be backported easily as it touchs only one file lib/tikidblib.php

sylvie


Why not make "set table prefix" as an option in the installation process and use tikiwiki_ as default prefix?

Thanks.