- Timestamp:
- 12/28/2008 07:38:01 AM (15 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- 3053a2f7
- Parents:
- 0829916
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/mysql.xml
r0829916 r9c98f0e 9 9 <!ENTITY mysql-download-http "&sources-anduin-http;/m/mysql-&mysql-version;.tar.gz"> 10 10 <!ENTITY mysql-download-ftp "&sources-anduin-ftp;/m/mysql-&mysql-version;.tar.gz"> 11 <!ENTITY mysql-md5sum "b 45cd6c89e35dfc1cdbe1a1f782aefbf">12 <!ENTITY mysql-size "2 4MB">13 <!ENTITY mysql-buildsize " 405 MB (additional 65MB to run the test suite)">14 <!ENTITY mysql-time " 6.0 SBU (Test suite is an additional 52minutes, only partially CPU dependent)">11 <!ENTITY mysql-md5sum "b658e58887a74dce65224ae0fc8ee06a"> 12 <!ENTITY mysql-size "28 MB"> 13 <!ENTITY mysql-buildsize "386 MB (additional 250 MB to run the test suite)"> 14 <!ENTITY mysql-time "5.1 SBU (Test suite is an additional 100 minutes, only partially CPU dependent)"> 15 15 ]> 16 16 … … 64 64 </itemizedlist> 65 65 66 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 67 <itemizedlist spacing="compact"> 68 <listitem> 69 <para>Required Patch: <ulink 70 url="&patch-root;/mysql-&mysql-version;-limit-test-1.patch"/></para> 71 </listitem> 72 </itemizedlist> 73 74 66 75 <bridgehead renderas="sect3">MySQL Dependencies</bridgehead> 67 76 … … 92 101 -u 40 mysql</userinput></screen> 93 102 103 <note><para>There are a great many options available to 104 <userinput>./configure</userinput>. Check the output of the 105 <option>--help</option> option for additional customization 106 options.</para></note> 107 94 108 <para>Build and install <application>MySQL</application> by 95 109 running the following commands:</para> 96 110 97 <screen><userinput> C_EXTRA_FLAGS=-fno-strict-aliasing \111 <screen><userinput>patch -Np1 -i ../mysql-&mysql-version;-limit-test-1.patch && 98 112 ./configure --prefix=/usr \ 99 113 --sysconfdir=/etc \ … … 105 119 --with-unix-socket-path=/var/run/mysql/mysql.sock \ 106 120 --without-debug \ 107 --without-bench \108 121 --without-readline \ 109 --with-berkeley-db \ 110 --with-extra-charsets=all && 111 make testdir=/tmp/mysql</userinput></screen> 112 113 <!-- 114 <para>Some of the tests in the test suite are known to fail and this will 115 cause the test suite to abort at that point. Issue the following command 116 to disable the tests known to fail:</para> 117 118 <screen><userinput>for TESTFILE in information_schema innodb join mysql_client_test \ 119 ps_2myisam ps_3innodb ps_4heap ps_5merge \ 120 sp-error strict type_float type_ranges 121 do 122 mv mysql-test/t/$TESTFILE.test mysql-test/t/$TESTFILE.test.disabled 123 done 124 unset TESTFILE</userinput></screen> 125 --> 122 --with-plugins=innobase,myisam \ 123 --with-extra-charsets=all \ 124 --with-ssl && 125 make</userinput></screen> 126 126 127 127 <para>To test the results, issue: <command>make test</command>. Note that … … 129 129 will need to add an appropriate entry to the 130 130 <filename>/etc/hosts.allow</filename> file for the 131 <command>mysqld</command> daemon , else many of the tests will fail.</para>131 <command>mysqld</command> daemon. Otherwise many of the tests will fail.</para> 132 132 133 133 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 134 134 135 <screen role="root"><userinput>make testdir=/tmp/mysqlinstall &&135 <screen role="root"><userinput>make benchdir_root=/tmp/mysql-bench install && 136 136 rm -rf /tmp/mysql && 137 137 cd /usr/lib && … … 151 151 <title>Command Explanations</title> 152 152 153 <para><parameter>C_EXTRA_FLAGS=-fno-strict-aliasing</parameter>: This154 environment variable adjusts the compiler optimization to avoid failures in155 the testsuite and other operations.</para>156 157 153 <para><parameter>--libexecdir=/usr/sbin</parameter>: This switch installs 158 154 the <command>mysqld</command> daemon and the … … 179 175 the default <filename class="directory">/tmp</filename>.</para> 180 176 181 <para><parameter>--without-bench</parameter>: This switch skips building182 the benchmark suite.</para>183 184 177 <para><parameter>--without-readline</parameter>: This switch forces the 185 178 build to use the system copy of <application>readline</application> instead 186 179 of the bundled copy.</para> 187 180 188 <para><parameter>--with-berkeley-db</parameter>: This switch enables189 using <application>Berkeley DB</application> tables as a back end.</para>190 191 181 <para><parameter>--with-extra-charsets=all</parameter>: This switch enables 192 182 international character sets within the suite.</para> 193 183 194 <para><command>make testdir=...</command>: This installs the test suite in 195 <filename class='directory'>/tmp/mysql</filename>. The test suite is not 196 required, nor does it function properly on an installed version of 197 <application>MySQL</application>, so it is removed in the next step.</para> 184 <para><parameter>--with-plugins=innobase,myisam</parameter>: This switch enables 185 two useful table types. Check <command>./configure --help</command> for 186 other table types.</para> 187 188 <para><command>make benchdir_root=...</command>: This installs the benchmark 189 and test suites in a non-system location.</para> 198 190 199 191 <para><command>ln -v -sf mysql/libmysqlclient{,_r}.so* .</command>: This … … 236 228 as the <systemitem class="username">root</systemitem> user:</para> 237 229 238 <screen role="root"><userinput>install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf</userinput></screen> 230 <screen role="root"><userinput>install -v -m644 /usr/share/mysql/my-medium.cnf /etc/my.cnf 231 sed -i -e s/^skip-federated/#skip-federated/ /etc/my.cnf</userinput></screen> 232 233 <para>The change to <filename>/etc/my.cnf</filename> can be omitted if the 234 option <option>--with-plugins=federated</option> is used.</para> 239 235 240 236 <para>You can now install a database and change the ownership to the
Note:
See TracChangeset
for help on using the changeset viewer.