title: How to connect to WSL mysql from Host Windows
body: <p>I am trying to connect HeidiSql from the host  to my WSL Mysql but I could not get it to connect it </p>
  
  <p>Error "can't connect to Mysql server on '127.0.0.1'"</p>
  
  <p>Tried SSH too but could not connect to the server</p>
  
  <p><a href="https://i.stack.imgur.com/jDM7X.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jDM7X.png" alt="enter image description here"></a></p>