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 in controller-install-*.rst "-u root -p" is useless. Change-Id: I511f39d734702ab3d1a209f7d868f52fb184f1fc Related-Bug: #1785025
This commit is contained in:
parent
b471b4ca36
commit
a1b0c09005
@ -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' \
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user