diff --git a/rally/cli/manage.py b/rally/cli/manage.py index cf4eb5b1e5..0ad76ddec1 100644 --- a/rally/cli/manage.py +++ b/rally/cli/manage.py @@ -20,6 +20,8 @@ from __future__ import print_function import contextlib import sys +from oslo_config import cfg + from rally.cli import cliutils from rally.cli import envutils from rally.common import db @@ -66,6 +68,10 @@ class DBCommands(object): """Print current Rally database revision UUID.""" print(db.schema_revision()) + def show(self, api): + """Show the connection string.""" + print(cfg.CONF.database.connection) + def main(): categories = {"db": DBCommands}