Compiler-Specific Build Characteristics
59
On Unix, a
tar
file binary distribution is installed by unpacking it at the installation location you choose
(typically
/usr/local/mysql
) and creates the following directories in that location:
Table 2.5. MySQL Installation Layout for Generic Unix/Linux Binary Package
Directory
Contents of Directory
bin
Client programs and the
mysqld
server
data
Log files, databases
docs
Manual in Info format
man
Unix manual pages
include
Include (header) files
lib
Libraries
scripts
mysql_install_db
share/mysql
Miscellaneous support files, including error messages,
character set files, sample configuration files, SQL for
database installation
sql-bench
Benchmarks
By default, when you install MySQL after compiling it from a source distribution, the installation step
installs files under
/usr/local
. Components are installed in the directories shown in the following
table. To configure particular installation locations, use the options described at
Section 2.17.3,
“MySQL Source-Configuration Options”
.
Table 2.6. MySQL Layout for Installation from Source
Directory
Contents of Directory
bin
Client programs and scripts
include/mysql
Include (header) files
Docs
Manual in Info format
man
Unix manual pages
lib/mysql
Libraries
libexec
The
mysqld
server
share/mysql
Miscellaneous support files, including error messages, character
set files, sample configuration files, SQL for database installation
sql-bench
Benchmarks
var
Log files, databases
Within its installation directory, the layout of a source installation differs from that of a binary installation
in the following ways:
• The
mysqld
server is installed in the
libexec
directory rather than in the
bin
directory.
• The data directory is
var
rather than
data
.
•
mysql_install_db
is installed in the
bin
directory rather than in the
scripts
directory.
• The header file and library directories are
include/mysql
and
lib/mysql
rather than
include
and
lib
.
To create your own binary installation from a compiled source distribution, execute the
scripts/
make_binary_distribution
script from the top directory of the source distribution.
2.8. Compiler-Specific Build Characteristics
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...