Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 33.3Mb
PDF (A4) - 33.3Mb
PDF (RPM) - 31.3Mb
HTML Download (TGZ) - 7.9Mb
HTML Download (Zip) - 8.0Mb
HTML Download (RPM) - 6.8Mb
Man Pages (TGZ) - 144.9Kb
Man Pages (Zip) - 205.9Kb
Info (Gzip) - 3.0Mb
Info (Zip) - 3.0Mb


MySQL 8.0 Reference Manual  /  ...  /  MySQL Installation Layout on Microsoft Windows

Pre-General Availability Draft: 2017-09-20

2.3.1 MySQL Installation Layout on Microsoft Windows

For MySQL 8.0 on Windows, the default installation directory is C:\Program Files\MySQL\MySQL Server 8.0. Some Windows users prefer to install in C:\mysql, the directory that formerly was used as the default. However, the layout of the subdirectories remains the same.

All of the files are located within this parent directory, using the structure shown in the following table.

Table 2.4 Default MySQL Installation Layout for Microsoft Windows

DirectoryContents of DirectoryNotes
binmysqld server, client and utility programs 
%PROGRAMDATA%\MySQL\MySQL Server 8.0\Log files, databasesThe Windows system variable %PROGRAMDATA% defaults to C:\ProgramData
examplesExample programs and scripts 
includeInclude (header) files 
libLibraries 
shareMiscellaneous support files, including error messages, character set files, sample configuration files, SQL for database installation 

If you install MySQL using the MySQL Installer, this package creates and sets up the data directory that the installed server will use, and also creates a pristine template data directory named data under the installation directory. After an installation has been performed using this package, the template data directory can be copied to set up additional MySQL instances. See Section 5.7, “Running Multiple MySQL Instances on One Machine”.


User Comments
Sign Up Login You must be logged in to post a comment.