mysql “a windows service with the name mysql already exists” and “[SC] OpenService FAILED 5: Access is Denied” problems

when re-installing mysql after uninstalling it, if there is a problem like:
“a windows service with the name mysql already exists”,

run “sc delete mysql” command from cmd.

If it says “[SC] OpenService FAILED 5: Access is Denied“, open cmd as Administrator and run again the same command.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s