Update python-pymysql to python3-pymysql for Ubuntu 20.04

Change-Id: Ibe86bc94ce1a67457e5609ab750ce343308f61dd
Closes-Bug: #1902920
This commit is contained in:
chenxing 2020-11-06 18:17:05 +08:00
parent 5b03eaecc9
commit dbd8d24b20
1 changed files with 11 additions and 3 deletions

View File

@ -27,11 +27,19 @@ Install and configure components
#. Install the packages:
.. code-block:: console
- As of Ubuntu 20.04, install the packages:
# apt install mariadb-server python-pymysql
.. code-block:: console
2. Create and edit the ``/etc/mysql/mariadb.conf.d/99-openstack.cnf`` file
# apt install mariadb-server python3-pymysql
- As of Ubuntu 18.04 or 16.04, install the packages:
.. code-block:: console
# apt install mariadb-server python-pymysql
#. Create and edit the ``/etc/mysql/mariadb.conf.d/99-openstack.cnf`` file
and complete the following actions:
- Create a ``[mysqld]`` section, and set the ``bind-address``