Revert "Remove -u root as mysql is executed with root user"

This commit was approved just to keep the consistency with
other OpenStack projects, but most proposed changes related to it
have been rejected so far [1].
The main reason is because it is clearer to specify options explicitly
and we should not assume some configuration.

I totally agree these opinions and see no reason that neutron
contineus to use different command line options for mysql.
Consistency in the installation guide will bring better user experience.

[1] https://review.openstack.org/#/q/file:%255Edoc/source/install/.*+message:mysql

This reverts commit 59d178c9de.

Related-Bug: #1785025
Change-Id: I699d03de9e26d5784e6bd5e7d4fa219de6209207
This commit is contained in:
Akihiro Motoki 2019-01-07 15:39:42 +09:00
parent b832508066
commit bc29d4843d
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ must create a database, service credentials, and API endpoints.
.. code-block:: console
# mysql
$ mysql -u root -p
.. end

View File

@ -14,7 +14,7 @@ must create a database, service credentials, and API endpoints.
.. code-block:: console
# mysql
$ mysql -u root -p
.. end

View File

@ -14,7 +14,7 @@ must create a database, service credentials, and API endpoints.
.. code-block:: console
# mysql
$ mysql -u root -p
.. end