查找my.ini位置,可通过windows服务所对应mysql启动项,查看其对应属性->可执行文件路径,获取my.ini路径
默认为C:\ProgramData\MySQL\MySQL Server 5.7\my.ini