summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNguyen Thanh Cong <ntcong1705@gmail.com>2020-06-16 16:55:54 +0700
committerNguyen Thanh Cong <ntcong1705@gmail.com>2020-06-16 16:57:43 +0700
commitd2643794a841f02976a63a961157c436b5bde11a (patch)
tree87c153a16e7af94daa824b155f2144c24db32673 /doc
parent428e3644f8770a608f6e4dfc617f45f6e17cb685 (diff)
downloadtrove-d2643794a841f02976a63a961157c436b5bde11a.tar.gz
Update location of file validation-rules.json
Change-Id: If95cd6ff63dfb42970903e945adf4dcb38eb97ae
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/datastore.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/admin/datastore.rst b/doc/source/admin/datastore.rst
index 5b8918c6..9ca9e40a 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**