title: Unable to connect to localhost:3306 (2003) for MySQL 8.0.21 on Windows
body: <p>I am using <code>MySQL workbench</code> to connect to my <code>local</code> server. Everything was running fine and suddenly I jumped in a connection refused errors. I tried restarting the server again and again. <code>Clearing temp</code> files and also <code>restarted</code> my machine. I found <a href="https://stackoverflow.com/questions/1673530/error-2003-hy000-cant-connect-to-mysql-server-on-127-0-0-1-111">this</a> post from which I tried a couple of things like <code>net stop</code> and stopping the process from the <code>services</code> list but in the services list it shows as below:</p>
  <p><a href="https://i.stack.imgur.com/W0FJZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W0FJZ.png" alt="enter image description here" /></a></p>
  <p>I waited like for 30 mins but still, the service is not stopped.<br />
  Also, below is the screenshot for MySQL workbench when I try to start the server:</p>
  <p><a href="https://i.stack.imgur.com/eHvN9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eHvN9.png" alt="enter image description here" /></a></p>
  <p>Is there anything specific which I need to do in order to resolve this error:</p>