I installed a MySQL server with installer and it started. After reboot I tried to start it again and get the error:
D:\\Program Files\\MySQL\\MySQL Server 5.
Check your real my.ini file location and set --defaults-file="location" with this command
my.ini
--defaults-file="location"
mysql --defaults-file="C:\MYSQL\my.ini" -u root -p
This solution is permanently for your cmd Screen.