Description:
During an in-place upgrade of MySQL Server 8.0.35 to 8.4.11 on Windows, MySQL
Configurator fails to locate the existing server configuration file and reports:
"a my.ini or my.cnf server configuration file was not found in the location as the data directory. Provide a path for the server configuration file."
The path is visible as below in the field but the error shows anyway, this file does exist and is valid.
"C:\ProgramData\MySQL\MySQL Server 8.0\my.ini"
I have tried moving the my.ini to the data directory and other standard locations...
Selecting that same file via the Browse button does not populate the
configuration file field. The field remains blank and the wizard cannot proceed.
( the next button is greyed out )
mysql configurator exe binary does not support command line options so no way of working around the issue.
How to repeat:
- use the 8.4.11 mysql configurator exe to do an in place upgrade
- follow the steps and connect to an existing server
- note the error and issue as described bug in description
Suggested fix:
Similar bug has been reported before as fixed, could be regression or something new.
ref: https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-3.html
Microsoft Windows: On Windows, if MySQL Configurator failed to find a valid my.ini or my.cnf file from the MySQL Server Installations page, then clicking the Browse button disabled the Next button even when the selected file was valid. (Bug #36395569)