fixed some formatting issues and added missing ampersands to mysql page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1698 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2004-01-12 17:55:49 +00:00
parent 8b4ccfe9db
commit c55e298422

View File

@ -14,19 +14,17 @@
<para>There are several default configurations file available in
<filename class="directory">/usr/share/mysql</filename> which you can use.</para>
<screen><userinput><command>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</command>
</userinput></screen>
<screen><userinput><command>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</command></userinput></screen>
<para>We can now install a database and change the ownership to the
unprivileged user and group.</para>
<screen><userinput><command>mysql_install_db
<screen><userinput><command>mysql_install_db &amp;&amp;
chown -R mysql:mysql /var/lib/mysql</command></userinput></screen>
<para>Further configuration requires that the mysql server be running:</para>
<screen><userinput><command>mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</command>
</userinput></screen>
<screen><userinput><command>mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</command></userinput></screen>
<para>A default installation does not setup a password for the administrator
so here we will set one. Replace <replaceable>[new-password]</replaceable>