To verify that the Database service is installed and configured correctly, try executing a Trove command:
Source the
demo-openrc.sh
file.$ source ~/demo-openrc.sh
Retrieve the Trove instances list:
$ trove list
You should see output similar to this:
+----+------+-----------+-------------------+--------+-----------+------+ | id | name | datastore | datastore_version | status | flavor_id | size | +----+------+-----------+-------------------+--------+-----------+------+ +----+------+-----------+-------------------+--------+-----------+------+
Assuming you have created an image for the type of database you want, and have updated the datastore to use that image, you can now create a Trove instance (database). To do this, use the trove create command.
This example shows you how to create a MySQL 5.5 database:
$ trove create
name
2 --size=2 --databases=DBNAME
\ --usersUSER
:PASSWORD
--datastore_version mysql-5.5 \ --datastore mysql