diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-14 19:28:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-14 19:28:00 +0000 |
commit | fb84de0828db118ee8a2f3311e37a58c5b7c8bc1 (patch) | |
tree | 7e3a3c5083fe88998e6f3a23d2b030fa4843fb2c /doc | |
parent | 96c1f6cb7a83d9c44d6d052c640d35071477d7c1 (diff) | |
parent | b2c64e45d58e5dfcd98dd353ad9a6f32efd4134f (diff) | |
download | oslo-db-fb84de0828db118ee8a2f3311e37a58c5b7c8bc1.tar.gz |
Merge "Adding dependency documentation for MySQL."
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/installation.rst | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 5c01c7a..254bd9b 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -4,9 +4,30 @@ Installation At the command line:: - $ pip install + $ pip install oslo.db Or, if you have virtualenvwrapper installed:: - $ mkvirtualenv - $ pip install
\ No newline at end of file + $ mkvirtualenv + $ pip install oslo.db + +You will also need to install at least one SQL backend:: + + $ pip install MySQL-python + +Or:: + + $ pip install pysqlite + +Using with MySQL +---------------- + +If using MySQL make sure to install the MySQL client development package for +your distro. On Ubuntu this is done as follows:: + + $ sudo apt-get install libmysqlclient-dev + $ pip install MySQL-python + +The installation of MySQL-python will fail if libmysqlclient-dev is not +installed first. Note that even in a virtual environment the MySQL package will +be installed system wide.
\ No newline at end of file |