Changeset 20f5e71a


Ignore:
Timestamp:
04/06/2005 06:56:25 AM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
d0a5083a
Parents:
b409cd8
Message:

Updated to MySQL-4.1.10a

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3681 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • content/databases/mysql.xml

    rb409cd8 r20f5e71a  
    77  <!ENTITY mysql-download-http "http://mysql.he.net/Downloads/MySQL-4.1/mysql-&mysql-version;.tar.gz">
    88  <!ENTITY mysql-download-ftp  "ftp://mirror.mcs.anl.gov/pub/mysql/Downloads/MySQL-4.1/mysql-&mysql-version;.tar.gz">
    9   <!ENTITY mysql-md5           "2886edbe5cc826727fbb79a79d41145c">
    10   <!ENTITY mysql-size          "22 MB">
    11   <!ENTITY mysql-buildsize     "117 MB">
    12   <!ENTITY mysql-time          "4.65 SBU">
     9  <!ENTITY mysql-md5           "6a4a6a5b3d0a42a9a271b2b8867bde82">
     10  <!ENTITY mysql-size          "22.5 MB">
     11  <!ENTITY mysql-buildsize     "207 MB">
     12  <!ENTITY mysql-time          "3.83 SBU">
    1313]>
    1414
     
    2020<?dbhtml filename="mysql.html"?>
    2121<title>MySQL-&mysql-version;</title>
     22<indexterm zone="mysql">
     23<primary sortas="a-MySQL">MySQL</primary></indexterm>
    2224
    2325<sect2>
     
    4749</title>
    4850<sect4><title>Optional</title>
    49 <para>
    50 <xref linkend="openssl"/>,
     51<para><xref linkend="openssl"/>,
    5152<xref linkend="tcpwrappers"/>,
    5253<ulink url="http://sourceforge.net/projects/libedit/">libedit</ulink>
     
    5556installed),
    5657<xref linkend="doxygen"/> and
    57 <xref linkend="tex"/>
    58 </para></sect4>
     58<xref linkend="tex"/></para>
     59</sect4>
    5960</sect3>
    6061
     
    6970
    7071<screen><userinput><command>groupadd mysql &amp;&amp;
    71 useradd -c mysql -d /dev/null -g mysql -s /bin/false mysql</command></userinput></screen>
     72useradd -c "MySQL Server" -d /dev/null -g mysql -s /bin/false mysql</command></userinput></screen>
    7273
    7374<para>Build and install <application>My<acronym>SQL</acronym></application> by
     
    8081    --with-unix-socket-path=/var/run/mysql/mysql.sock \
    8182    --without-debug --without-bench --without-readline &amp;&amp;
    82 make testdir=/usr/lib/mysql/mysql-test &amp;&amp;
    83 make testdir=/usr/lib/mysql/mysql-test install &amp;&amp;
     83make testdir=/usr/lib/mysql/mysql-test</command></userinput></screen>
     84
     85<para>Now, as the root user:</para>
     86
     87<screen><userinput role='root'><command>make testdir=/usr/lib/mysql/mysql-test install &amp;&amp;
     88install -v -d -m755 /usr/share/mysql/Docs/Images &amp;&amp;
     89install -v -m644 Docs/manual{,_toc}.html \
     90                 Docs/manual.txt /usr/share/mysql/Docs &amp;&amp;
     91install -v -m644 Docs/Images/*.{jpg,gif} /usr/share/mysql/Docs/Images &amp;&amp;
    8492cd /usr/lib &amp;&amp;
    85 ln -sf mysql/libmysqlclient{,_r}.so* .</command></userinput></screen>
     93ln -v -sf mysql/libmysqlclient{,_r}.so* .</command></userinput></screen>
    8694
    8795</sect2>
     
    108116LOAD DATA INFILE <acronym>SQL</acronym> statement.</para>
    109117
    110 <para><parameter>CPPFLAGS="-D_GNU_SOURCE" --with-named-thread-libs=-lpthread</parameter>:
    111 This environment variable and configure switch enable building on
    112 <acronym>NPTL</acronym> systems.</para>
     118<para><parameter>CPPFLAGS="-D_GNU_SOURCE"
     119--with-named-thread-libs=-lpthread</parameter>: This environment variable and
     120configure switch enable building on <acronym>NPTL</acronym> systems.</para>
    113121
    114122<para><parameter>--with-unix-socket-path=/var/run/mysql</parameter>:
     
    144152<title>Configuring <application>My<acronym>SQL</acronym></application></title>
    145153
    146 <sect3>
     154<sect3 id="mysql-config">
    147155<title>Config files</title>
    148156
    149157<para><filename>/etc/my.cnf</filename>, <filename>~/.my.cnf</filename></para>
     158<indexterm zone="mysql mysql-config">
     159<primary sortas="e-AA.my.cnf">~/.my.cnf</primary></indexterm>
     160<indexterm zone="mysql mysql-config">
     161<primary sortas="e-etc-my.cnf">/etc/my.cnf</primary></indexterm>
    150162
    151163</sect3>
     
    156168<para>There are several default configuration files available in
    157169<filename class="directory">/usr/share/mysql</filename> which you can
    158 use.  Create <filename>/etc/my.cnf</filename> using the following
    159 command:</para>
    160 
    161 <screen><userinput><command>cp /usr/share/mysql/my-medium.cnf /etc/my.cnf</command></userinput></screen>
     170use. Create <filename>/etc/my.cnf</filename> using the following
     171command as the root user:</para>
     172
     173<screen><userinput role='root'><command>install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf</command></userinput></screen>
    162174
    163175<para>You can now install a database and change the ownership to the
    164 unprivileged user and group.</para>
    165 
    166 <screen><userinput><command>mysql_install_db --user=mysql</command></userinput></screen>
     176unprivileged user and group (perform as the root user):</para>
     177
     178<screen><userinput role='root'><command>mysql_install_db --user=mysql &amp;&amp;
     179chgrp -v mysql /srv/mysql{,/test,/mysql}</command></userinput></screen>
    167180
    168181<para>Further configuration requires that the
    169 <application>My<acronym>SQL</acronym></application> server be running:</para>
    170 
    171 <screen><userinput><command>install -o mysql -d /var/run/mysql &amp;&amp;
     182<application>My<acronym>SQL</acronym></application> server be running. Start
     183the server using the following commands as the root user:</para>
     184
     185<screen><userinput role='root'><command>install -v -m750 -o mysql -g mysql -d /var/run/mysql &amp;&amp;
    172186mysqld_safe --user=mysql 2&gt;&amp;1 &gt;/dev/null &amp;</command></userinput></screen>
    173187
    174188<para>A default installation does not setup a password for the administrator,
    175 so use the following command to set one. Replace
     189so use the following command as the root user to set one. Replace
    176190<replaceable>[new-password]</replaceable> with your own.</para>
    177191
    178 <screen><userinput><command>mysqladmin -u root password <replaceable>[new-password]</replaceable></command></userinput></screen>
     192<screen><userinput role='root'><command>mysqladmin -u root password <replaceable>[new-password]</replaceable></command></userinput></screen>
    179193
    180194<para>Configuration of the server is now finished. Shut the server down
    181 using the following command:</para>
    182 
    183 <screen><userinput><command>mysqladmin -p shutdown</command></userinput></screen>
    184 
    185 <para>Install the <filename>/etc/rc.d/init.d/mysql</filename>
     195using the following command as the root user:</para>
     196
     197<screen><userinput role='root'><command>mysqladmin -p shutdown</command></userinput></screen>
     198
     199<para id="mysql-init">Install the <filename>/etc/rc.d/init.d/mysql</filename>
    186200init script included in the <xref linkend="intro-important-bootscripts"/>
    187 package.</para>
    188 
    189 <screen><userinput><command>make install-mysql</command></userinput></screen>
     201package as the root user to start the <application>MySQL</application> server
     202during system boot-up.</para>
     203<indexterm zone="mysql mysql-init">
     204<primary sortas="f-mysql">mysql</primary></indexterm>
     205
     206<screen><userinput role='root'><command>make install-mysql</command></userinput></screen>
    190207
    191208</sect3>
     
    196213<title>Contents</title>
    197214
    198 <para>The <application>My<acronym>SQL</acronym></application> package contains
    199 <command>client_test</command>,
    200 <command>comp_err</command>, <command>
    201 isamchk</command>, <command>
    202 isamlog</command>, <command>
    203 make_win_binary_distribution</command>, <command>
    204 make_win_src_distribution</command>, <command>
    205 msql2mysql</command>, <command>
    206 my_print_defaults</command>, <command>
    207 myisam_ftdump</command>, <command>
    208 myisamchk</command>, <command>
    209 myisamlog</command>, <command>
    210 myisampack</command>, <command>
    211 mysql</command>, <command>
    212 mysql_config</command>, <command>
    213 mysql_convert_table_format</command>, <command>
    214 mysql_create_system_tables</command>, <command>
    215 mysql_explain_log</command>, <command>
    216 mysql_find_rows</command>, <command>
    217 mysql_fix_extensions</command>, <command>
    218 mysql_fix_privilege_tables</command>, <command>
    219 mysql_install_db</command>, <command>
    220 mysql_secure_installation</command>, <command>
    221 mysql_setpermission</command>, <command>
    222 mysql_tableinfo</command>, <command>
    223 mysql_tzinfo_to_sql</command>, <command>
    224 mysql_waitpid</command>, <command>
    225 mysql_zap</command>, <command>
    226 mysqlacess</command>,<command>
    227 mysqladmin</command>, <command>
    228 mysqlbinlog</command>, <command>
    229 mysqlbug</command>, <command>
    230 mysqlcheck</command>, <command>
    231 mysqld</command>, <command>
    232 mysqld_multi</command>, <command>
    233 mysqld_safe</command>, <command>
    234 mysqldump</command>, <command>
    235 mysqldumpslow</command>, <command>
    236 mysqlhotcopy</command>, <command>
    237 mysqlimport</command>, <command>
    238 mysqlmanager</command>, <command>
    239 mysqlmanager-pwgen</command>, <command>
    240 mysqlmanagerc</command>, <command>
    241 mysqlshow</command>, <command>
    242 mysqltest</command>, <command>
    243 pack_isam</command>, <command>
    244 perror</command>, <command>
    245 replace</command>, <command>
    246 resolve_stack_dump</command>, <command>
    247 resolveip</command>, <filename class="libraryfile">
    248 libdbug</filename>, <filename class="libraryfile">
    249 libheap</filename>, <filename class="libraryfile">
    250 libmerge</filename>, <filename class="libraryfile">
    251 libmyisam</filename>, <filename class="libraryfile">
    252 libmyisammrg</filename>, <filename class="libraryfile">
    253 libmysqlclient</filename>, <filename class="libraryfile">
    254 libmysqlclient_r</filename>, <filename class="libraryfile">
    255 libmystrings</filename>, <filename class="libraryfile">
    256 libmysys</filename>, <filename class="libraryfile">
    257 libnisam</filename> and <filename class="libraryfile">
    258 libvio</filename>.</para>
    259 
    260 </sect2>
    261 
    262 <sect2><title>Description</title>
    263 
    264 <para>A package listing would be several pages long. Consult the
    265 <application>My<acronym>SQL</acronym></application> documentation for full
    266 details instead.</para>
     215<segmentedlist>
     216<segtitle>Installed Programs</segtitle>
     217<segtitle>Installed Libraries</segtitle>
     218<segtitle>Installed Directories</segtitle>
     219
     220<seglistitem>
     221<seg>comp_err, isamchk, isamlog, make_win_binary_distribution,
     222make_win_src_distribution, msql2mysql, my_print_defaults, myisam_ftdump,
     223myisamchk, myisamlog, myisampack, mysql, mysql_client_test, mysql_config,
     224mysql_convert_table_format, mysql_create_system_tables, mysql_explain_log,
     225mysql_find_rows, mysql_fix_extensions, mysql_fix_privilege_tables,
     226mysql_install_db, mysql_secure_installation, mysql_setpermission,
     227mysql_tableinfo, mysql_tzinfo_to_sql, mysql_waitpid, mysql_zap, mysqlaccess,
     228mysqladmin, mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi,
     229mysqld_safe, mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport,
     230mysqlmanager, mysqlmanager-pwgen, mysqlmanagerc, mysqlshow, mysqltest,
     231pack_isam, perror, replace, resolve_stack_dump and resolveip</seg>
     232<seg>libdbug.a, libheap.a, libmerge.a, libmyisam.a, libmyisammrg.a,
     233libmysqlclient.[so,a], libmysqlclient_r.[so,a], libmystrings.a, libmysys.a,
     234libnisam.a and libvio.a</seg>
     235<seg>/srv/mysql, /usr/include/mysql, /usr/lib/mysql, /usr/share/mysql and
     236/var/run/mysql</seg>
     237</seglistitem>
     238</segmentedlist>
     239
     240<sect3><title>Short description</title>
     241<para>Descriptions of all the programs and libraries would be several pages
     242long. Instead, consult the <application>My<acronym>SQL</acronym></application>
     243documentation for full details.</para>
    267244
    268245<para>Certain <application>My<acronym>SQL</acronym></application> support
    269246programs may require the <application>Perl</application> DBI modules to be
    270247installed to function properly.</para>
     248</sect3>
    271249
    272250</sect2>
  • general.ent

    rb409cd8 r20f5e71a  
    1 <!ENTITY day          "05">
     1<!ENTITY day          "06">
    22<!ENTITY month        "04">
    33<!ENTITY year         "2005">
     
    261261<!-- Chapter 23 -->                 
    262262<!ENTITY db-version                   "4.3.27"> 
    263 <!ENTITY mysql-version                "4.1.8a">   
     263<!ENTITY mysql-version                "4.1.10a">   
    264264<!ENTITY postgresql-version           "7.4.6">
    265265                                     
  • general/genlib/fam.xml

    rb409cd8 r20f5e71a  
    2323
    2424<indexterm zone="fam">
    25   <primary sortas="a-Fam">Fam</primary>
     25  <primary sortas="a-FAM">FAM</primary>
    2626</indexterm>
    2727
  • general/prog/nasm.xml

    rb409cd8 r20f5e71a  
    77<!ENTITY NASM-download-http "http://prdownloads.sourceforge.net/nasm/nasm-&NASM-version;.tar.bz2">
    88<!ENTITY NASM-download-ftp " ">
    9 <!ENTITY NASM-md5sum "9f682490c132b070d54e395cb6ee145e">
    10 <!ENTITY NASM-size "536 KB">
     9<!ENTITY NASM-md5sum "2032ad44c7359f7a9a166a40a633e772">
     10<!ENTITY NASM-size "543 KB">
    1111<!ENTITY NASM-buildsize "6.3 MB">
    1212<!ENTITY NASM-time "0.14 SBU">
Note: See TracChangeset for help on using the changeset viewer.