Where to find my.ini, mysql.exe, mysqld.exe, mysqlbackup.exe on Windows

To find these files, please follow these steps:

  • Press win+r
  • Enter services.msc
  • Find MySQL service

  • Right-click and select Properties
  • The path to the directory where mysql.exe, mysqld.exe, mysqlbackup.exe are located can be found in the “Path to executable” box
  • To find the path to my.ini scroll the “Path to executable” box to the right
  • The path to my.ini can be found in the --defaults-file parameter