For MySQL 5.7 on Windows, the default installation
C:\Program Files\MySQL\MySQL Server
5.7. Some Windows users prefer to install
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 1.1 Default MySQL Installation Layout for Microsoft Windows
|Directory||Contents of Directory||Notes|
|Client programs and the mysqld server|
|Log files, databases (Windows XP, Windows Server 2003)||The Windows system variable |
|Log files, databases (Vista, Windows 7, Windows Server 2008, and newer)||The Windows system variable |
|Example programs and scripts|
|Include (header) files|
|Miscellaneous 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 Running Multiple MySQL Instances on One Machine.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices