openstack-db (1) - Linux Man Pages
openstack-db: Set up a local database for use with an OpenStack service
openstack-db - Set up a local database for use with an OpenStack service
--service <service> --init|--drop
Set up a local database (MySQL) for use with openstack-<service>.
This script will create a '<service>' database that is accessible
only on localhost by user '<service>' with password '<service>'.
The setup of a database with a multi-server OpenStack installation
is outside of the scope of this simple helper script.
--help | -h
- Print usage information.
- Drop the database.
- Initialise the database.
- Update an initialised database.
--password <pw> | -p <pw>
- Specify the password for user that will be used
to connect database for the service. By default the
<service> parameter is used for the password.
--rootpw <pw> | -r <pw>
- Specify the root database password.
If the script installs the database server, it will set the root password to this value
instead of prompting for a password. If the database server is
already installed, this password will be used to connect to the
database instead of having to prompt for it.
- Specify the openstack service to manipulate the database for.
This option is mandatory.
--yes | -y
- In cases where the script would normally ask for confirmation
before doing something, such as installing the database server,
just assume yes. This is useful if you want to run the script