How can I check the path of my.ini, through the command line?
mysqld.exe does not report the location of the my.ini it is using. I learned over the years that the my.ini file is supposed to be in the parent folder of the data and bin directories:


Feb 06, 2012 : MySQL Database and Table Loss
Jan 14, 2014 : MySql InnoDB tables are missing after restarting (See INVESTIGATION #2)


What can you do form the command line ? 

From the command line, run this

C:\&gt; mysqld --help --verbose &gt; C:\mysqld_options.txt
notepad C:\mysqld_options.txt


Go look for the line that says

Default options are read from the following files in the given order:


The line underneath will tell you the places where mysqld looks for my.ini

If you don't see one, then use the parent folder of the data and bin directory to make one.

Give it a Try !!!