Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
In Ubuntu Bionic (18.04) mysql 5.7 version used to create
the user implicitly when using using the GRANT.
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
This patch updates tools/test-setup.sh so that keystone supports
ubuntu focal.
Reviewed: https:/ /review. opendev. org/746451 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=b54839f382b 046b7ec8b9633fb ea763d31d9949c
Committed: https:/
Submitter: Zuul
Branch: master
commit b54839f382b046b 7ec8b9633fbea76 3d31d9949c
Author: Vishakha Agarwal <email address hidden>
Date: Mon Aug 17 13:37:48 2020 +0530
Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
In Ubuntu Bionic (18.04) mysql 5.7 version used to create
the user implicitly when using using the GRANT.
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.
This patch updates tools/test-setup.sh so that keystone supports
ubuntu focal.
Story: #2007865
Task: #40190
Change-Id: I86d10729cfc7c0 2f12df611b56f6e 263969dfe4b
Closes-Bug: #1885825