.dmg
) file (the community version is available here) that contains the MySQL package installer. Double-click the file to mount the disk image and see its contents.mysql-5.6.50-osx-10.8-x86_64
.pkg
. /usr/local
matching the name of the installation version and platform. For example, the installer file mysql-5.6.50-osx10.8-x86_64.dmg
installs MySQL into /usr/local/mysql-5.6.50-osx10.8-x86_64/
. The following table shows the layout of the installation directory.Directory | Contents of Directory |
---|---|
bin , scripts | mysqld server, client and utility programs |
data | Log files, databases |
docs | Helper documents, like the Release Notes and build information |
include | Include (header) files |
lib | Libraries |
man | Unix manual pages |
mysql-test | MySQL test suite |
share | Miscellaneous support files, including error messages, sample configuration files, SQL for database installation |
sql-bench | Benchmarks |
support-files | Scripts and sample configuration files |
/tmp/mysql.sock | Location of the MySQL Unix socket |
/usr/local/mysql
to the version/platform specific directory created during installation will be created automatically.