title: Why am I getting ECONNREFUSED connecting to localhost MySQL from docker node app?
body: <p>I have a locally running MySQL server.. it's NOT within a container. My app is going to be hitting RDS so no sense in going that route. My app was able to hit RDS no problem, as a test. But obviously I want to hit something local for local development.</p>
  
  <p>From my terminal I can do <code>mysql --user=root --password=password mydb</code> successfully.</p>
  
  <p>And as I'm not getting a timeout error, from my container I can <code>ping 127.0.0.1:3306</code> with no issue.</p>
  
  <p>I also used console to see I am definitely passing the right info, after having updated the values from RDS to locally running MySQL. </p>