wiki-toolkit-setupdb(1p)

wiki-toolkit-setupdb1p

Set up a database storage backend for wiki::toolkit.

Usage

wiki-toolkit-setupdb --type postgres --name mywiki \ --user wiki \ --pass wiki \ --host 'db.example.com'

wiki-toolkit-setupdb --type postgres --name mywiki \ --user wiki \ --pass wiki \ --force-preclear

Overview

Takes three mandatory arguments:

type

The database type. Should be one of 'postgres', 'mysql' and 'sqlite'.

name

The database name.

user

The user that connects to the database. It must have permission to create and drop tables in the database.

two optional arguments:

pass

The user's database password.

host

The hostname of the machine the database server is running on (omit for local databases).

and one optional flag:

force-preclear

By default, this script will leave any existing data alone. To force that to be cleared out first, pass the "--force-preclear" flag.

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–13

Author

Kake Pugh ([email protected]).

From libwiki-toolkit-perl 0.86-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.