Merge "[install] Fixes change to unix_socket authentication"

This commit is contained in:
Jenkins 2017-01-17 11:38:22 +00:00 committed by Gerrit Code Review
commit a3975e0fd4
6 changed files with 123 additions and 25 deletions

View File

@ -16,14 +16,31 @@ must create a database, service credentials, and API endpoints.
#. To create the database, complete these steps:
* Use the database access client to connect to the database
server as the ``root`` user:
.. only:: ubuntu
.. code-block:: console
* Use the database access client to connect to the database
server as the ``root`` user:
$ mysql -u root -p
.. code-block:: console
.. end
# mysql
.. end
.. endonly
.. only:: rdo or debian or obs
* Use the database access client to connect to the database
server as the ``root`` user:
.. code-block:: console
$ mysql -u root -p
.. end
.. endonly
* Create the ``cinder`` database:

View File

@ -7,6 +7,19 @@ guide use MariaDB or MySQL depending on the distribution. OpenStack
services also support other SQL databases including
`PostgreSQL <http://www.postgresql.org/>`__.
.. only:: ubuntu
.. note::
As of Ubuntu 15.10, MariaDB was changed to use
the "unix_socket Authentication Plugin". Local authentication is
now preformed using the user credentials (UID) and password
authentication is no longer used by default. This means that
the root user no longer uses a password for local access to
the server.
.. endonly
Install and configure components
--------------------------------

View File

@ -13,14 +13,31 @@ create a database, service credentials, and API endpoints.
#. To create the database, complete these steps:
* Use the database access client to connect to the database
server as the ``root`` user:
.. only:: ubuntu
.. code-block:: console
* Use the database access client to connect to the database
server as the ``root`` user:
$ mysql -u root -p
.. code-block:: console
.. end
# mysql
.. end
.. endonly
.. only:: rdo or debian or obs
* Use the database access client to connect to the database
server as the ``root`` user:
.. code-block:: console
$ mysql -u root -p
.. end
.. endonly
* Create the ``glance`` database:

View File

@ -16,14 +16,31 @@ database and an administration token.
#. To create the database, complete the following actions:
* Use the database access client to connect to the database server as the
``root`` user:
.. only:: ubuntu
.. code-block:: console
* Use the database access client to connect to the database
server as the ``root`` user:
$ mysql -u root -p
.. code-block:: console
.. end
# mysql
.. end
.. endonly
.. only:: rdo or debian or obs
* Use the database access client to connect to the database
server as the ``root`` user:
.. code-block:: console
$ mysql -u root -p
.. end
.. endonly
* Create the ``keystone`` database:

View File

@ -9,14 +9,31 @@ must create a database, service credentials, and API endpoints.
#. To create the database, complete these steps:
* Use the database access client to connect to the database server as the
``root`` user:
.. only:: ubuntu
.. code-block:: console
* Use the database access client to connect to the database
server as the ``root`` user:
$ mysql -u root -p
.. code-block:: console
.. end
# mysql
.. end
.. endonly
.. only:: rdo or debian or obs
* Use the database access client to connect to the database
server as the ``root`` user:
.. code-block:: console
$ mysql -u root -p
.. end
.. endonly
* Create the ``neutron`` database:

View File

@ -12,14 +12,31 @@ create databases, service credentials, and API endpoints.
#. To create the databases, complete these steps:
* Use the database access client to connect to
the database server as the ``root`` user:
.. only:: ubuntu
.. code-block:: console
* Use the database access client to connect to the database
server as the ``root`` user:
$ mysql -u root -p
.. code-block:: console
.. end
# mysql
.. end
.. endonly
.. only:: rdo or debian or obs
* Use the database access client to connect to the database
server as the ``root`` user:
.. code-block:: console
$ mysql -u root -p
.. end
.. endonly
* Create the ``nova_api`` and ``nova`` databases: