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

This commit is contained in:
Zuul 2018-08-20 02:24:37 +00:00 committed by Gerrit Code Review
commit f93225b75c
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ MySQL database that is used by other OpenStack services.
``watcher`` user. Replace WATCHER_DBPASSWORD
with the actual password::
$ mysql -u root -p
# mysql
mysql> CREATE DATABASE watcher CHARACTER SET utf8;
mysql> GRANT ALL PRIVILEGES ON watcher.* TO 'watcher'@'localhost' \

View File

@ -11,7 +11,7 @@ you must create a database, service credentials, and API endpoints.
.. code-block:: console
$ mysql -u root -p
# mysql
* Create the ``watcher`` database: