Correct configuration of db connection

Change-Id: I314874866e725cf982a229cfebdffc7b3aa47a03
Closes-bug: #1655323
Closes-bug: #1654402
This commit is contained in:
Jeremy Liu 2017-01-18 14:59:18 +08:00
parent 78ae6fd072
commit 61aa385e80
1 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
2. Edit the ``/etc/barbican/barbican.conf`` file and complete the following 2. Edit the ``/etc/barbican/barbican.conf`` file and complete the following
actions: actions:
* In the ``[database]`` section, configure database access: * In the ``[DEFAULT]`` section, configure database access:
.. code-block:: none .. code-block:: none
[database] [DEFAULT]
... ...
connection = mysql+pymysql://barbican:BARBICAN_DBPASS@controller/barbican sql_connection = mysql+pymysql://barbican:BARBICAN_DBPASS@controller/barbican
Replace ``BARBICAN_DBPASS`` with the password you chose for the Replace ``BARBICAN_DBPASS`` with the password you chose for the
Key Manager service database. Key Manager service database.