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

This commit is contained in:
Zuul 2018-09-24 16:34:41 +00:00 committed by Gerrit Code Review
commit 2a72cdd58b
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';