Remove -u root as mysql is executed with root user

As openstack installation guides suggest to run mysql with root shell
user, mysql will not ask for password, so the "-u root -p" is useless.

Change-Id: I245b8969ec58de91b7d21267bbdf4273d572c8d2
Related-Bug: #1785025
This commit is contained in:
zhang.lei 2018-08-19 14:21:57 +00:00
parent 9edaad25bc
commit 180a7611f8
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ Install and configure components
.. code-block:: console
# mysql -u root -p
# mysql
MariaDB [(none)]> CREATE DATABASE designate CHARACTER SET utf8 COLLATE utf8_general_ci;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \
IDENTIFIED BY 'DESIGNATE_DBPASS';

View File

@ -30,7 +30,7 @@ Install and configure components
.. code-block:: console
# mysql -u root -p
# mysql
MariaDB [(none)]> CREATE DATABASE designate CHARACTER SET utf8 COLLATE utf8_general_ci;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \
IDENTIFIED BY 'DESIGNATE_DBPASS';

View File

@ -30,7 +30,7 @@ Install and configure components
.. code-block:: console
# mysql -u root -p
# mysql
mysql> CREATE DATABASE designate CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'localhost' \
IDENTIFIED BY 'DESIGNATE_DBPASS';