Use two lines for MySQL GRANT statements in the trove install section

Change-Id: I45385a6ce528af8e3c827e9feec47f69ba198a93
This commit is contained in:
Christian Berendt 2014-10-13 14:29:53 +02:00
parent ccf326217d
commit 26631ff04b

View File

@ -164,8 +164,10 @@ taskmanager_manager = trove.taskmanager.manager.Manager
<para>Prepare the trove admin database:</para> <para>Prepare the trove admin database:</para>
<screen><prompt>$</prompt> <userinput>mysql -u root -p</userinput> <screen><prompt>$</prompt> <userinput>mysql -u root -p</userinput>
<prompt>mysql&gt;</prompt> <userinput>CREATE DATABASE trove;</userinput> <prompt>mysql&gt;</prompt> <userinput>CREATE DATABASE trove;</userinput>
<prompt>mysql&gt;</prompt> <userinput>GRANT ALL PRIVILEGES ON trove.* TO trove@'localhost' IDENTIFIED BY 'TROVE_DBPASS';</userinput> <prompt>mysql&gt;</prompt> <userinput>GRANT ALL PRIVILEGES ON trove.* TO trove@'localhost' \
<prompt>mysql&gt;</prompt> <userinput>GRANT ALL PRIVILEGES ON trove.* TO trove@'%' IDENTIFIED BY 'TROVE_DBPASS';</userinput></screen> IDENTIFIED BY '<replaceable>TROVE_DBPASS</replaceable>';</userinput>
<prompt>mysql&gt;</prompt> <userinput>GRANT ALL PRIVILEGES ON trove.* TO trove@'%' \
IDENTIFIED BY '<replaceable>TROVE_DBPASS</replaceable>';</userinput></screen>
</step> </step>
<step os="opensuse;sles;fedora;rhel;centos;ubuntu"> <step os="opensuse;sles;fedora;rhel;centos;ubuntu">