windows - MySQL my.ini location - Stack Overflow
https://stackoverflow.com/questions/14597884/mysql-my-ini-location
I've found mine in
C:ProgramDataMySQLMySQL Server 8.0
(It is a hidden folder)
You can type win+R and write %PROGRAMDATA% to access that folder, or just enable show hidden folder.
MySQL :: MySQL 8.0 参考手册 :: 2.3.4.2 创建选项文件
https://dev.mysql.com/doc/refman/8.0/en/windows-create-option-file.html
MySQL :: No my.ini on Windows 10
https://forums.mysql.com/read.php?11,691716,691716
C:ProgramDataMySQLMySQL Server 5.7my.ini
C:Program FilesMySQLMySQL Server 5.7inmysql_config.pl
mysql 8.0.19 安装 及 端口修改 - 郞性人生 - 博客园
https://www.cnblogs.com/panfengyou/p/12931568.html
windows下安装mysql数据库修改端口号 - a_dong - 博客园
https://www.cnblogs.com/a-dong/p/10513077.html