Reputation: 2918
I changed the application to open the my.ini file by the command "open with".
Now my my.ini file is unreadable (no newline) and the mysqld service cannot start.
Is it possible to restore the file ?
Upvotes: 1
Views: 6199
Reputation: 44343
If you messed up the registry, you may not be able to get MySQL reinstalled using MSI
However, not all hope is lost.
When it comes to Windows, I hate MSI installation with a passion. I always download the no-install zip file instead. Back on Feb 10, 2011, I wrote up a ServerFault post on how to configure a no-install MySQL setup.
With regard to the my.ini, maybe you can use another text editor that can read Linux/Unix based files. I sometimes use the Windows version of vi
to read Linux files in Windows. See if you can use WinVi to open the my.ini.
Upvotes: 0
Reputation: 13196
Never EVER use the registry to manually remove programs. Your only hope is to uninstall mysql and reinstall it. If you encounter issues with that, you may need to contact customer support.
If you made a backup of the registry before changing it, restore it.
Upvotes: 1