Verify the Database service installation
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 service). 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 \
--users USER:PASSWORD --datastore_version mysql-5.5 \
--datastore mysql