Difference between revisions of "Add a wiki database"
From Organic Design wiki
m |
|||
Line 8: | Line 8: | ||
'''Note:''' The databases referred to in the add-db command must pre-exist | '''Note:''' The databases referred to in the add-db command must pre-exist | ||
+ | |||
+ | {{code| | ||
+ | <bash> | ||
+ | add-db TEMPLATE DB1.PREFIX1 [DB2.]PREFIX2 [DB3.]PREFIX3... | ||
+ | </bash> | ||
+ | }} | ||
<pre> | <pre> | ||
− | |||
− | |||
Where, | Where, | ||
TEMPLATE is the name of the *.sql file or db.prefix to use as the template. | TEMPLATE is the name of the *.sql file or db.prefix to use as the template. |
Revision as of 22:47, 21 November 2008
![]() |
Add a wiki database Organic Design procedure |
Usage
Note: The databases referred to in the add-db command must pre-exist
Where, TEMPLATE is the name of the *.sql file or db.prefix to use as the template. DB*.PREFIX* are the databases to replicate the template into and the table prefixes to use (prefixes are mandatory).
Notes:
- There is also an add-wiki script in MW maintenance dir which we need to check out
- The database dump being used as a template should only contain one wiki.
- It should not include create or drop database statements.
- The destination databases must already exist
- The destination tables will be replaced if they exist
- The DB part is optional for all but the first and means to continue using the previous database.\n"
Next
After installing a wiki database, you can then install the wiki.