Author: paul
Date: 2007-03-06 18:41:55 +0100 (Tue, 06 Mar 2007)
New Revision: 5204
Log:
r21070@polar: paul | 2007-03-06 11:33:20 -0600
Some revisions to Unix binary/source install procedures.
Modified:
trunk/refman-4.1/installing.xml
trunk/refman-5.0/installing-cs.xml
trunk/refman-5.1/installing.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:21060
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:16997
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:14593
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:21070
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:16997
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:14593
Modified: trunk/refman-4.1/installing.xml
===================================================================
--- trunk/refman-4.1/installing.xml 2007-03-06 16:58:31 UTC (rev 5203)
+++ trunk/refman-4.1/installing.xml 2007-03-06 17:41:55 UTC (rev 5204)
Changed blocks: 9, Lines Added: 53, Lines Deleted: 12; 5640 bytes
@@ -7087,13 +7087,18 @@
<para>
If you run the command as <literal>root</literal>, you must
use the <option>--user</option> option as shown. The value of
- the option should be the name of the login account that you
- created in the first step to use for running the server. If
- you run the command while logged in as that user, you can omit
- the <option>--user</option> option.
+ the option is the name of the login account that you created
+ in the first step to use for running the server. If you run
+ the command while logged in as that user, you can omit the
+ <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its contents
+ with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
Note that for MySQL versions older than 3.22.10,
<command>mysql_install_db</command> left the server running
after creating the grant tables. This is no longer true; you
@@ -7199,7 +7204,16 @@
</programlisting>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you must use
+ the <option>--user</option> option as shown. The value of the
+ option is the name of the login account that you created in the
+ first step to use for running the server. If you run the command
+ while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename> file
in the data directory.
@@ -7370,6 +7384,7 @@
<programlisting>
shell> <userinput>groupadd mysql</userinput>
shell> <userinput>useradd -g mysql mysql</userinput>
+shell> <replaceable>change user to mysql</replaceable>
shell> <userinput>gunzip < mysql-<replaceable>VERSION</replaceable>.tar.gz | tar -xvf -</userinput>
shell> <userinput>cd mysql-<replaceable>VERSION</replaceable></userinput>
shell> <userinput>./configure --prefix=/usr/local/mysql</userinput>
@@ -7447,6 +7462,13 @@
<listitem>
<para>
+ Perform the following steps as the <literal>mysql</literal>
+ user, except as noted.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
Pick the directory under which you want to unpack the
distribution and change location into it.
</para>
@@ -7553,6 +7575,11 @@
</programlisting>
<para>
+ You might need to run this command as
+ <literal>root</literal>.
+ </para>
+
+ <para>
If you want to set up an option file, use one of those
present in the <filename>support-files</filename> directory
as a template. For example:
@@ -7563,7 +7590,7 @@
</programlisting>
<para>
- You might need to run these commands as
+ You might need to run this command as
<literal>root</literal>.
</para>
@@ -7592,7 +7619,7 @@
<listitem>
<para>
If you have not installed MySQL before, you must create the
- MySQL grant tables:
+ data directory and initialize the MySQL grant tables:
</para>
<programlisting>
@@ -7602,13 +7629,18 @@
<para>
If you run the command as <literal>root</literal>, you
should use the <option>--user</option> option as shown. The
- value of the option should be the name of the login account
- that you created in the first step to use for running the
- server. If you run the command while logged in as that user,
- you can omit the <option>--user</option> option.
+ value of the option is the name of the login account that
+ you created in the first step to use for running the server.
+ If you run the command while logged in as that user, you can
+ omit the <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its
+ contents with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
Note that for MySQL versions older than 3.22.10,
<command>mysql_install_db</command> left the server running
after creating the grant tables. This is no longer true; you
@@ -7697,7 +7729,16 @@
</para>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you should
+ use the <option>--user</option> option as shown. The value of
+ the option is the name of the login account that you created in
+ the first step to use for running the server. If you run the
+ command while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename>
file in the data directory.
Modified: trunk/refman-5.0/installing-cs.xml
===================================================================
--- trunk/refman-5.0/installing-cs.xml 2007-03-06 16:58:31 UTC (rev 5203)
+++ trunk/refman-5.0/installing-cs.xml 2007-03-06 17:41:55 UTC (rev 5204)
Changed blocks: 9, Lines Added: 54, Lines Deleted: 13; 5650 bytes
@@ -6228,13 +6228,18 @@
<para>
If you run the command as <literal>root</literal>, you must
use the <option>--user</option> option as shown. The value of
- the option should be the name of the login account that you
- created in the first step to use for running the server. If
- you run the command while logged in as that user, you can omit
- the <option>--user</option> option.
+ the option is the name of the login account that you created
+ in the first step to use for running the server. If you run
+ the command while logged in as that user, you can omit the
+ <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its contents
+ with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
After creating or updating the grant tables, you need to
restart the server manually.
</para>
@@ -6336,7 +6341,16 @@
</programlisting>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you must use
+ the <option>--user</option> option as shown. The value of the
+ option is the name of the login account that you created in the
+ first step to use for running the server. If you run the command
+ while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename> file
in the data directory.
@@ -6501,6 +6515,7 @@
<programlisting>
shell> <userinput>groupadd mysql</userinput>
shell> <userinput>useradd -g mysql mysql</userinput>
+shell> <replaceable>change user to mysql</replaceable>
shell> <userinput>gunzip < mysql-<replaceable>VERSION</replaceable>.tar.gz | tar -xvf -</userinput>
shell> <userinput>cd mysql-<replaceable>VERSION</replaceable></userinput>
shell> <userinput>./configure --prefix=/usr/local/mysql</userinput>
@@ -6572,6 +6587,13 @@
<listitem>
<para>
+ Perform the following steps as the <literal>mysql</literal>
+ user, except as noted.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
Pick the directory under which you want to unpack the
distribution and change location into it.
</para>
@@ -6678,6 +6700,11 @@
</programlisting>
<para>
+ You might need to run this command as
+ <literal>root</literal>.
+ </para>
+
+ <para>
If you want to set up an option file, use one of those
present in the <filename>support-files</filename> directory
as a template. For example:
@@ -6688,7 +6715,7 @@
</programlisting>
<para>
- You might need to run these commands as
+ You might need to run this command as
<literal>root</literal>.
</para>
@@ -6716,8 +6743,8 @@
<listitem>
<para>
- If you haven't installed MySQL before, you must create the
- MySQL grant tables:
+ If you have not installed MySQL before, you must create the
+ data directory and initialize the MySQL grant tables:
</para>
<programlisting>
@@ -6727,13 +6754,18 @@
<para>
If you run the command as <literal>root</literal>, you
should use the <option>--user</option> option as shown. The
- value of the option should be the name of the login account
- that you created in the first step to use for running the
- server. If you run the command while logged in as that user,
- you can omit the <option>--user</option> option.
+ value of the option is the name of the login account that
+ you created in the first step to use for running the server.
+ If you run the command while logged in as that user, you can
+ omit the <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its
+ contents with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
After using <command>mysql_install_db</command> to create
the grant tables for MySQL, you must restart the server
manually. The <command>mysqld_safe</command> command to do
@@ -6816,7 +6848,16 @@
</programlisting>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you should
+ use the <option>--user</option> option as shown. The value of
+ the option is the name of the login account that you created in
+ the first step to use for running the server. If you run the
+ command while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename>
file in the data directory.
Modified: trunk/refman-5.1/installing.xml
===================================================================
--- trunk/refman-5.1/installing.xml 2007-03-06 16:58:31 UTC (rev 5203)
+++ trunk/refman-5.1/installing.xml 2007-03-06 17:41:55 UTC (rev 5204)
Changed blocks: 9, Lines Added: 54, Lines Deleted: 13; 5641 bytes
@@ -6971,13 +6971,18 @@
<para>
If you run the command as <literal>root</literal>, you must
use the <option>--user</option> option as shown. The value of
- the option should be the name of the login account that you
- created in the first step to use for running the server. If
- you run the command while logged in as that user, you can omit
- the <option>--user</option> option.
+ the option is the name of the login account that you created
+ in the first step to use for running the server. If you run
+ the command while logged in as that user, you can omit the
+ <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its contents
+ with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
After creating or updating the grant tables, you need to
restart the server manually.
</para>
@@ -7079,7 +7084,16 @@
</programlisting>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you must use
+ the <option>--user</option> option as shown. The value of the
+ option is the name of the login account that you created in the
+ first step to use for running the server. If you run the command
+ while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename> file
in the data directory.
@@ -7244,6 +7258,7 @@
<programlisting>
shell> <userinput>groupadd mysql</userinput>
shell> <userinput>useradd -g mysql mysql</userinput>
+shell> <replaceable>change user to mysql</replaceable>
shell> <userinput>gunzip < mysql-<replaceable>VERSION</replaceable>.tar.gz | tar -xvf -</userinput>
shell> <userinput>cd mysql-<replaceable>VERSION</replaceable></userinput>
shell> <userinput>./configure --prefix=/usr/local/mysql</userinput>
@@ -7315,6 +7330,13 @@
<listitem>
<para>
+ Perform the following steps as the <literal>mysql</literal>
+ user, except as noted.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
Pick the directory under which you want to unpack the
distribution and change location into it.
</para>
@@ -7421,6 +7443,11 @@
</programlisting>
<para>
+ You might need to run this command as
+ <literal>root</literal>.
+ </para>
+
+ <para>
If you want to set up an option file, use one of those
present in the <filename>support-files</filename> directory
as a template. For example:
@@ -7431,7 +7458,7 @@
</programlisting>
<para>
- You might need to run these commands as
+ You might need to run this command as
<literal>root</literal>.
</para>
@@ -7459,8 +7486,8 @@
<listitem>
<para>
- If you haven't installed MySQL before, you must create the
- MySQL grant tables:
+ If you have not installed MySQL before, you must create the
+ data directory and initialize the MySQL grant tables:
</para>
<programlisting>
@@ -7470,13 +7497,18 @@
<para>
If you run the command as <literal>root</literal>, you
should use the <option>--user</option> option as shown. The
- value of the option should be the name of the login account
- that you created in the first step to use for running the
- server. If you run the command while logged in as that user,
- you can omit the <option>--user</option> option.
+ value of the option is the name of the login account that
+ you created in the first step to use for running the server.
+ If you run the command while logged in as that user, you can
+ omit the <option>--user</option> option.
</para>
<para>
+ The command should create the data directory and its
+ contents with <literal>mysql</literal> as the owner.
+ </para>
+
+ <para>
After using <command>mysql_install_db</command> to create
the grant tables for MySQL, you must restart the server
manually. The <command>mysqld_safe</command> command to do
@@ -7559,7 +7591,16 @@
</programlisting>
<para>
- If that command fails immediately and prints <literal>mysqld
+ If you run the command as <literal>root</literal>, you should
+ use the <option>--user</option> option as shown. The value of
+ the option is the name of the login account that you created in
+ the first step to use for running the server. If you run the
+ command while logged in as that user, you can omit the
+ <option>--user</option> option.
+ </para>
+
+ <para>
+ If the command fails immediately and prints <literal>mysqld
ended</literal>, you can find some information in the
<filename><replaceable>host_name</replaceable>.err</filename>
file in the data directory.
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r5204 - in trunk: . refman-4.1 refman-5.0 refman-5.1 | paul | 6 Mar |