.dmg
) file that you first need to mount by double-clicking its icon in the Finder. It should then mount the image and display its contents..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-8.0.23-osx-10.13-x86_64
.pkg
. caching_sha2_password
(Strong), and this step allows you to change it to mysql_native_password
(Legacy).--default_authentication_plugin=mysql_native_password
under ProgramArguments
. Choosing strong password encryption does not set --default_authentication_plugin
because the default MySQL Server value is used, which is caching_sha2_password
. /usr/local
matching the name of the installation version and platform. For example, the installer file mysql-8.0.23-osx10.13-x86_64.dmg
installs MySQL into /usr/local/mysql-8.0.23-osx10.13-x86_64/
with a symlink to /usr/local/mysql
. The following table shows the layout of this MySQL installation directory.Directory | Contents of Directory |
---|---|
bin | mysqld server, client and utility programs |
data | Log files, databases, where /usr/local/mysql/data/mysqld.local.err is the default error log |
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 ('MySQL Test' is disabled by default during the installation process when using the installer package (DMG)) |
share | Miscellaneous support files, including error messages, sample configuration files, SQL for database installation |
support-files | Scripts and sample configuration files |
/tmp/mysql.sock | Location of the MySQL Unix socket |