Determining the Location of MySQL's my.ini on Windows
Despite referencing the official MySQL documentation, you've encountered challenges in locating the my.ini file. This article addresses the persistent question, "Where is my my.ini," specifically in the context of MySQL 5.5.28 installed on Windows Server 2008 using the mysqld --install command.
Locating my.ini for MySQL 5.6 MSI Installations
For MySQL 5.6 installations using the MSI installer, the my.ini file typically resides in the following location:
%PROGRAMDATA%\MySQL\MySQL Server 5.6\my.ini
To find the %PROGRAMDATA% folder, execute the following command in a Windows command shell:
echo %PROGRAMDATA%
This will return the path to the ProgramData folder. In your case, the my.ini file should be in:
C:\ProgramData\MySQL\MySQL Server 5.6\my.ini
Troubleshooting
The above is the detailed content of Where is My MySQL my.ini File on Windows Server 2008?. For more information, please follow other related articles on the PHP Chinese website!