For MySQL 5.5 on Windows, the default installation
directory is C:\Program Files\MySQL\MySQL Server
5.5
. 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.3. MySQL Installation Layout for Windows
Directory | Contents of Directory |
---|---|
bin | Client programs and the mysqld server |
C:\Documents and Settings\All Users\Application
Data\MySQL | Log files, databases (Windows XP, Windows Server 2003) |
C:\ProgramData\MySQL | Log files, databases (Windows 7, Windows Server 2008) |
examples | Example programs and scripts |
include | Include (header) files |
lib | Libraries |
scripts | Utility scripts |
share | Miscellaneous support files, including error messages, character set files, sample configuration files, SQL for database installation |