Starting and Stopping the Database

The first thing we can do with the database we have just created is to ask its state.

The state command shows the state of a dabase server identified by its name.

graphics/inoadmin_state.png

Applying the state command upon the database 'my-database' yields 'down', this means that the database is currently stopped.

graphics/inoadmin_state_mydb.png

If a database is stopped, you can start it using the inoadmin start command.

The start command starts a dabase server identified by its name.

graphics/inoadmin_start.png

Applying the start command upon the database 'my-database' starts the database.

graphics/inoadmin_start_mydb.png

Applying the state command upon the database 'my-database' now yields 'running', this means that the database is up and can be worked with.

graphics/inoadmin_state_mydb_up.png

If a database is running, you can stop it by using the inoadmin stop command.

graphics/inoadmin_stop.png

Note:
To continue with the following examples, the database needs to be running.