Add @localhost to openstack_citest user example

Without this, mysql can match the anonymous user first and then
rejects the openstack_citest password [1] leading to some confusing
tox output.

[1] http://bugs.mysql.com/bug.php?id=36576

TrivialFix
Change-Id: Ic9a753307960634f0e5c40abf06ec5bac92d9897
This commit is contained in:
Ian Wienand 2014-06-18 08:33:38 +10:00
parent 0dc4b59b7d
commit b87d94df9d

View File

@ -54,7 +54,7 @@ Set up database for unit tests:
.. code-block:: bash .. code-block:: bash
mysql -u root mysql -u root
mysql> grant all privileges on *.* to 'openstack_citest' identified by 'openstack_citest' with grant option; mysql> grant all privileges on *.* to 'openstack_citest'@'localhost' identified by 'openstack_citest' with grant option;
mysql> flush privileges; mysql> flush privileges;
mysql> create database openstack_citest; mysql> create database openstack_citest;