2.11.1 MySQL Layout for Source Installation

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.11.4, “MySQL Source-Configuration Options”.

Table 2.19 MySQL Layout for Installation from Source

DirectoryContents of Directory
binClient programs and scripts
include/mysqlInclude (header) files
DocsManual in Info format
manUnix manual pages
lib/mysqlLibraries
libexecThe mysqld server
share/mysqlMiscellaneous support files, including error messages, sample configuration files, SQL for database installation
sql-benchBenchmarks
varLog files, databases

Within its installation directory, the layout of a source installation differs from that of a binary installation in the following ways: