openstack-db(1) - Linux man page
Name
openstack-db - Set up a local database for use with an OpenStack service
Synopsis
openstack-db --service <service> --init|--drop [options]
Description
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.
Options
- --help | -h
- Print usage information.
- --drop
- Drop the database.
- --init
- Initialise the 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.
- --service <service>
- 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 non-interactively.