Fix mysql prompt

The mysql command can be executed as user - as it's done in the
rest of the guide. Change prompt.

Change-Id: I9c1cc3a7e54a7cbf4524279220c880308e202bb1
Closes-Bug: #1341187
This commit is contained in:
Andreas Jaeger
2014-07-13 10:33:35 +02:00
parent 0925862e8b
commit 904833744f

View File

@@ -60,7 +60,7 @@ connection = mysql://cinder:<replaceable>CINDER_DBPASS</replaceable>@<replaceabl
<step os="ubuntu;rhel;centos;fedora;opensuse;sles">
<para>Use the password that you set to log in as root to create
a <literal>cinder</literal> database:</para>
<screen><prompt>#</prompt> <userinput>mysql -u root -p</userinput>
<screen><prompt>$</prompt> <userinput>mysql -u root -p</userinput>
<prompt>mysql></prompt> <userinput>CREATE DATABASE cinder;</userinput>
<prompt>mysql></prompt> <userinput>GRANT ALL PRIVILEGES ON cinder.* TO 'cinder'@'localhost' \
IDENTIFIED BY '<replaceable>CINDER_DBPASS</replaceable>';</userinput>