From b87d94df9decc207535e042d14aaf22457bd874a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 18 Jun 2014 08:33:38 +1000 Subject: [PATCH] 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 --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index a506014b5..a6113befc 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ Set up database for unit tests: .. code-block:: bash 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> create database openstack_citest;