diff --git a/general.ent b/general.ent index 7f8a5f3e6b..a6b4bcd209 100644 --- a/general.ent +++ b/general.ent @@ -306,7 +306,7 @@ - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index daf236ccad..e71df6f9ac 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,9 @@ December 13th, 2005 + + [randy] - Updated to MySQL-5.0.16. + [bdubbs] - Update koffice to version 1.4.2. diff --git a/server/databases/mysql.xml b/server/databases/mysql.xml index 0dc1c31030..ea092a22ef 100644 --- a/server/databases/mysql.xml +++ b/server/databases/mysql.xml @@ -4,12 +4,12 @@ %general-entities; - - - - - - + + + + + + ]> @@ -63,13 +63,17 @@ Optional , - , + and libedit - (as an alternative to readline), - (detected only if is - installed), + (as an alternative to readline) + + @@ -86,19 +90,42 @@ useradd -c "MySQL Server" -d /dev/null -g mysql -s /bin/false \ Build and install MySQL by running the following commands: -CPPFLAGS="-D_GNU_SOURCE" ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/sbin --localstatedir=/srv/mysql \ - --enable-thread-safe-client --enable-assembler \ - --enable-local-infile --with-named-thread-libs=-lpthread \ - --with-unix-socket-path=/var/run/mysql/mysql.sock \ - --without-debug --without-bench --without-readline && -make testdir=/usr/lib/mysql/mysql-test + + +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/sbin \ + --localstatedir=/srv/mysql \ + --enable-thread-safe-client \ + --enable-assembler \ + --enable-local-infile \ + --with-unix-socket-path=/var/run/mysql/mysql.sock \ + --without-debug \ + --without-bench \ + --without-readline && +make testdir=/tmp/mysql + + Some of the tests in the test suite are known to fail and this will + cause the test suite to abort at that point. Issue the following command + to disable the tests known to fail: + +for TESTFILE in information_schema innodb join mysql_client_test \ + ps_2myisam ps_3innodb ps_4heap ps_5merge \ + sp-error strict type_float type_ranges +do + mv mysql-test/t/$TESTFILE.test mysql-test/t/$TESTFILE.test.disabled +done +unset TESTFILE To test the results, issue: make test. Now, as the root user: -make testdir=/usr/lib/mysql/mysql-test install && +make testdir=/tmp/mysql install && +rm -rf /tmp/mysql && cd /usr/lib && ln -v -sf mysql/libmysqlclient{,_r}.so* . @@ -118,7 +145,8 @@ install -v -m644 Docs/Images/*.{jpg,gif} /usr/share/mysql/Docs/Images && Command Explanations --libexecdir=/usr/sbin: This switch installs - the mysqld daemon in an appropriate location. + the mysqld daemon and the + mysqlmanager program in an appropriate location. --localstatedir=/srv/mysql: This switch forces MySQL to use @@ -135,10 +163,12 @@ install -v -m644 Docs/Images/*.{jpg,gif} /usr/share/mysql/Docs/Images && --enable-local-infile: This switch enables the LOAD DATA INFILE SQL statement. + --with-unix-socket-path=/var/run/mysql: This switch puts the unix-domain socket into the @@ -153,20 +183,21 @@ install -v -m644 Docs/Images/*.{jpg,gif} /usr/share/mysql/Docs/Images && of the bundled copy. make testdir=...: This installs the test suite in - /usr/lib/mysql/mysql-test. - BLFS is currently seeking a method to omit the installation - of the test suite altogether. + /tmp/mysql. The test suite is not + required, nor does it function properly on an installed version of + MySQL, so it is removed in the next step. - ln -sf mysql/libmysqlclient{,_r}.so* .: This + ln -v -sf mysql/libmysqlclient{,_r}.so* .: This command makes the MySQL shared libraries available to other packages at run-time. - : This switch adds tcpwrappers - support to MySQL. - : This switch adds OpenSSL support to MySQL. + : This switch adds tcpwrappers + support to MySQL. As of MySQL-&mysql-version;, + this option is known to break the build. + @@ -206,14 +237,14 @@ install -v -m644 Docs/Images/*.{jpg,gif} /usr/share/mysql/Docs/Images && chgrp -v mysql /srv/mysql{,/test,/mysql} Further configuration requires that the - MySQL server be running. Start + MySQL server is running. Start the server using the following commands as the root user: install -v -m755 -o mysql -g mysql -d /var/run/mysql && mysqld_safe --user=mysql 2>&1 >/dev/null & - A default installation does not setup a password for the + A default installation does not set up a password for the administrator, so use the following command as the root user to set one. Replace [new-password] with your own. @@ -255,20 +286,21 @@ mysqld_safe --user=mysql 2>&1 >/dev/null & Installed Directories - comp_err, isamchk, isamlog, make_win_binary_distribution, - make_win_src_distribution, msql2mysql, my_print_defaults, myisam_ftdump, - myisamchk, myisamlog, myisampack, mysql, mysql_client_test, mysql_config, - mysql_convert_table_format, mysql_create_system_tables, mysql_explain_log, - mysql_find_rows, mysql_fix_extensions, mysql_fix_privilege_tables, - mysql_install_db, mysql_secure_installation, mysql_setpermission, - mysql_tableinfo, mysql_tzinfo_to_sql, mysql_waitpid, mysql_zap, mysqlaccess, - mysqladmin, mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi, - mysqld_safe, mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport, - mysqlmanager, mysqlmanager-pwgen, mysqlmanagerc, mysqlshow, mysqltest, - pack_isam, perror, replace, resolve_stack_dump, and resolveip - libdbug.a, libheap.a, libmerge.a, libmyisam.a, libmyisammrg.a, - libmysqlclient.[so,a], libmysqlclient_r.[so,a], libmystrings.a, libmysys.a, - libnisam.a, and libvio.a + comp_err, innochecksum, msql2mysql, my_print_defaults, + myisam_ftdump, myisamchk, myisamlog, myisampack, mysql, + mysql_client_test, mysql_config, mysql_convert_table_format, + mysql_create_system_tables, mysql_explain_log, mysql_find_rows, + mysql_fix_extensions, mysql_fix_privilege_tables, mysql_install_db, + mysql_secure_installation, mysql_setpermission, mysql_tableinfo, + mysql_tzinfo_to_sql, mysql_waitpid, mysql_zap, mysqlaccess, mysqladmin, + mysqlbinlog, mysqlbug, mysqlcheck, mysqld, mysqld_multi, mysqld_safe, + mysqldump, mysqldumpslow, mysqlhotcopy, mysqlimport, mysqlmanager, + mysqlshow, mysqltest, mysqltestmanager, mysqltestmanager-pwgen, + mysqltestmanagerc, perror, replace, resolve_stack_dump, and + resolveip + libdbug.a, libheap.a, libmyisam.a, libmyisammrg.a, + libmysqlclient.[so,a], libmysqlclient_r.[so,a], libmystrings.a, + libmysys.a, and libvio.a /srv/mysql, /usr/include/mysql, /usr/lib/mysql, /usr/share/mysql, and /var/run/mysql @@ -277,12 +309,13 @@ mysqld_safe --user=mysql 2>&1 >/dev/null & Short Descriptions Descriptions of all the programs and libraries would be several - pages long. Instead, consult the MySQL - documentation for full details. + pages long. Instead, consult the mysql.info + documentation or the on-line reference manual at . - Certain MySQL support programs may - require the Perl DBI modules to be - installed to function properly. + The Perl DBI modules must be installed + for some of the MySQL support programs to + function properly.