man8/set_dbname

Table of Contents

Name

set_dbname - tell the database server the database name

Synopsis

set_dbname <long_options> <dbname>

Description

This program sends a message to dbman(8) telling it the database name.

Arguments

Argument processing is done using Unix long argument syntax.

The values of all the parameters listed here (whether or not they were supplied on the command line) are printed on stderr when the program starts.

--dbman_host <hn>

The host where dbman is running.
<dbname>

The new database name.

Normally this would be one word, however it’s possible for it to be multiple words with whitespace between the words if the argument is double quoted.

Exit Codes

0
success
1
failure, i.e. dbman isn’t running or the hostname is wrong.

Examples

set_dbname --dbman_host csdev1 newdatabasename

Manual page revision

$Id: set_dbname.8,v 1.0 2007/08/21 15:31:43 kitchen Exp $


Table of Contents