I know this question was asked a lot before but I tried some of the solutions which were given and nothing worked..
I have downloaded MySQL Workbench 6.1 on
To re-iterate what Jens wrote in more current code, first open the Command Prompt with Administrator access by right-clicking the Command Prompt icon and select "Run as administrator." Then cut and paste the following into the Command Prompt at the C:> directory level:
"C:\Program Files (x86)\MySQL\MySQL Server 5.6\bin\mysqld" --install
You may have to change the name of the folder depending on where MySQL is installed and what version it is.