Always allow mysql access to user@'%' as well as @'localhost'

Related-bug: https://bugs.launchpad.net/openstack-manuals/+bug/1239124
Change-Id: I3476246932ab4a956a6ee080d10675852b8f1b54
This commit is contained in:
Shaun McCance
2013-10-15 15:49:35 -04:00
committed by annegentle
parent 3a45e4f408
commit af0042836e
5 changed files with 15 additions and 6 deletions

View File

@@ -46,7 +46,9 @@ connection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone
<screen><prompt>#</prompt> <userinput>mysql -u root -p</userinput>
<prompt>mysql></prompt> <userinput>CREATE DATABASE keystone;</userinput>
<prompt>mysql></prompt> <userinput>GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \
IDENTIFIED BY 'KEYSTONE_DBPASS';</userinput></screen>
IDENTIFIED BY '<replaceable>KEYSTONE_DBPASS</replaceable>';</userinput>
<prompt>mysql></prompt> <userinput>GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \
IDENTIFIED BY '<replaceable>KEYSTONE_DBPASS</replaceable>';</userinput></screen>
</step>
<step os="ubuntu">
<para>We now start the keystone service and create its tables.</para>