mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
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:
parent
8b4ccfe9db
commit
c55e298422
@ -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 &&
|
||||
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>&1 >/dev/null &</command>
|
||||
</userinput></screen>
|
||||
<screen><userinput><command>mysqld_safe --user=mysql 2>&1 >/dev/null &</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>
|
||||
|
Loading…
Reference in New Issue
Block a user