I installed MySQL on Microsoft Windows 8 Using a noinstall Zip Archive. But when i tested by executing the following commands on windows prompt, the above error showed up.<
The solution that worked for me is:
cd C:\Program Files\mysql-8.0.22\mysql-8.0.22-winx64\binmysqld -install (Service successfully installed)mysqld --initialize (no prompt)Let me know if it helps!