wiki-toolkit-rename-node1p
Rename a node stored in a wiki::toolkit instance.
Usage
wiki-toolkit-rename-node --type
postgres
--name
mywiki
\
--user
wiki
\
--pass
wiki
\
--host
'db.example.com'
\
--port
1234
--oldname
MyOldNodeName
\
--nemname
FancyNewNodeName
Overview
Takes four mandatory arguments:
type
|
The database type. Should be one of 'postgres', 'mysql' and 'sqlite'. |
|---|---|
name
|
The database name. |
oldname
|
The name of the node to be renamed. |
newname
|
The new name for the node. |
four optional arguments:
- user
-
The user that connects to the database. It must have permission to create and drop tables in the database.
- pass
-
The user's database password.
- host
-
The hostname of the machine the database server is running on (omit for local databases).
- port
-
The port number that the database server is expecting connections to.
Releases
10 releases since Debian 4.0 (Etch); the text changed 6 times.