Oracle 5.0 Reference Manual page 142

Table of Contents

Advertisement

CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro \
-felide-constructors -fno-exceptions -fno-rtti"
In most cases, you can get a reasonably optimized MySQL binary by using the options from the
preceding list and adding the following options to the
--prefix=/usr/local/mysql --enable-assembler \
--with-mysqld-ldflags=-all-static
The full
configure
versions:
CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro \
-felide-constructors -fno-exceptions -fno-rtti" ./configure \
--prefix=/usr/local/mysql --enable-assembler \
--with-mysqld-ldflags=-all-static
The binaries we provide on the MySQL Web site at
with full optimization and should work well for most users. See
Generic Binaries on Other Unix-Like
• If the build fails and produces errors about your compiler or linker not being able to create the shared
library
libmysqlclient.so.N
by giving the
--disable-shared
shared
libmysqlclient.so.N
By default, MySQL uses the
default set, use the
--with-charset
shell>
./configure --with-charset=CHARSET
may be one of binary, armscii8, ascii, big5, cp1250, cp1251, cp1256, cp1257,
CHARSET
cp850, cp852, cp866, cp932, dec8, eucjpms, euckr, gb2312, gbk, geostd8, greek, hebrew,
hp8, keybcs2, koi8r, koi8u, latin1, latin2, latin5, latin7, macce, macroman, sjis,
swe7, tis620, ucs2, ujis, utf8. (Additional character sets might be available. Check the output
from
./configure --help
The default collation may also be specified. MySQL uses the
default. To change this, use the
shell>
./configure --with-collation=COLLATION
To change both the character set and the collation, use both the
[122]
with-collation
the
SHOW COLLATION
With the
configure
additional character sets should be compiled into the server.
• A list of character set names separated by spaces
to include all character sets that can't be dynamically loaded
complex
to include all character sets into the binaries
all
Clients that want to convert characters between the server and the client should use the
statement. See
Section 10.1.4, "Connection Character Sets and
To configure MySQL with debugging code, use the
shell>
./configure --with-debug
MySQL Source-Configuration Options
line would, in other words, be something like the following for all recent
Systems".
(where
is a version number), you can work around this problem
N
option to configure. In this case,
library.
(cp1252 West European) character set. To change the
latin1
[122]
for the current list.)
--with-collation
options. The collation must be a legal collation for the character set. (Use
statement to determine which collations are available for each character set.)
option
--with-extra-charsets=LIST
122
line:
configure
http://dev.mysql.com/downloads/
Section 2.16, "Installing MySQL from
option:
latin1_swedish_ci
[122]
option:
--with-charset
[122], you can define which
is one of the following:
LIST
Collations".
--with-debug
are all compiled
does not build a
configure
collation by
[122]
and
SET NAMES
[122]
option:
gcc
--

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents