![background image](http://html1.mh-extra.com/html/oracle/5-0/5-0_reference-manual_1646196204.webp)
Other Unix Notes
184
CC=cc CFLAGS="-D_FILE_OFFSET_BITS=64 -O3" \
CXX=CC CXXFLAGS="-D_FILE_OFFSET_BITS=64 -O3" \
./configure --prefix=/usr/local/mysql \
--enable-thread-safe-client --with-berkeley-db \
--with-extra-charsets=complex \
--build=i686-unknown-sysv5SCO_SV6.0.0
If you use
gcc
, you must use
gcc
2.95.3 or newer.
CC=gcc CXX=g++ ... ./configure ...
The version of Berkeley DB that comes with either UnixWare 7.1.4 or OpenServer 6.0.0 is not
used when building MySQL. MySQL instead uses its own version of Berkeley DB. The
configure
command needs to build both a static and a dynamic library in
src_directory/bdb/build_unix/
,
but it does not with MySQL's own
BDB
version. The workaround is as follows.
1. Configure as normal for MySQL.
2.
cd bdb/build_unix/
3.
cp -p Makefile Makefile.sav
4. Use same options and run
../dist/configure
.
5. Run
gmake
.
6.
cp -p Makefile.sav Makefile
7. Change location to the top source directory and run
gmake
.
This enables both the shared and dynamic libraries to be made and work.
SCO provides OpenServer 6 operating system patches at
ftp://ftp.sco.com/pub/openserver6
.
SCO provides information about security fixes at
ftp://ftp.sco.com/pub/security/OpenServer
.
By default, the maximum file size on a OpenServer 6.0.0 system is 1TB. Some operating system
utilities have a limitation of 2GB. The maximum possible file size on UnixWare 7 is 1TB with VXFS or
HTFS.
OpenServer 6 can be configured for large file support (file sizes greater than 2GB) by tuning the UNIX
kernel.
By default, the entries in
/etc/conf/cf.d/mtune
are set as follows:
Value Default Min Max
----- ------- --- ---
SVMMLIM 0x9000000 0x1000000 0x7FFFFFFF
HVMMLIM 0x9000000 0x1000000 0x7FFFFFFF
To make changes to the kernel, use the
idtune name parameter
command.
idtune
modifies the
/etc/conf/cf.d/stune
file for you. To set the kernel values, execute the following commands as
root
:
#
/etc/conf/bin/idtune SDATLIM 0x7FFFFFFF
#
/etc/conf/bin/idtune HDATLIM 0x7FFFFFFF
#
/etc/conf/bin/idtune SVMMLIM 0x7FFFFFFF
#
/etc/conf/bin/idtune HVMMLIM 0x7FFFFFFF
#
/etc/conf/bin/idtune SFNOLIM 2048
#
/etc/conf/bin/idtune HFNOLIM 2048
Then rebuild and reboot the kernel by issuing this command:
#
/etc/conf/bin/idbuild -B && init 6
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...