From d2643794a841f02976a63a961157c436b5bde11a Mon Sep 17 00:00:00 2001 From: Nguyen Thanh Cong Date: Tue, 16 Jun 2020 16:55:54 +0700 Subject: [PATCH] Update location of file validation-rules.json Change-Id: If95cd6ff63dfb42970903e945adf4dcb38eb97ae --- doc/source/admin/datastore.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/admin/datastore.rst b/doc/source/admin/datastore.rst index 5b8918c6d1..9ca9e40ac8 100644 --- a/doc/source/admin/datastore.rst +++ b/doc/source/admin/datastore.rst @@ -198,14 +198,14 @@ data store version. - Location of :file:`validation-rules.json` - Notes - * - Ubuntu 14.04 - - :file:`/usr/lib/python2.7/dist-packages/trove/templates/DATASTORE_NAME` + * - Ubuntu 18.04 + - :file:`/usr/lib/python3/dist-packages/trove/templates/DATASTORE_NAME` - DATASTORE_NAME is the name of either the MySQL data store or the Percona data store. This is typically either ``mysql`` or ``percona``. * - RHEL 7, CentOS 7, Fedora 20, and Fedora 21 - - :file:`/usr/lib/python2.7/site-packages/trove/templates/DATASTORE_NAME` + - :file:`/usr/lib/python3/site-packages/trove/templates/DATASTORE_NAME` - DATASTORE_NAME is the name of either the MySQL data store or the Percona data store. This is typically either ``mysql`` or ``percona``. @@ -223,11 +223,11 @@ data store version. | This example loads the ``validation-rules.json`` file for a MySQL - database on Ubuntu 14.04: + database on Ubuntu 18.04: .. code-block:: console - $ trove-manage db_load_datastore_config_parameters mysql mysql-5.5 /usr/lib/python2.7/dist-packages/trove/templates/mysql/validation-rules.json + $ trove-manage db_load_datastore_config_parameters mysql mysql-5.5 /usr/lib/python3/dist-packages/trove/templates/mysql/validation-rules.json #. **Validate data store**