title: Connect MYSQL to Android studio
body: <p>anybody knows how to connect MYSQL to android studio using MYSQL workbench. I have tried all methods, it shows following error.</p>
  
  <pre><code>com.mysql.jdbc.CommunicationsException: Communications link failure due to 
  underlying exception: 
  01-17 16:21:56.845 30367-30442/animaltracking.kevell.com.myapplication 
  W/System.err: ** BEGIN NESTED EXCEPTION ** 
  01-17 16:21:56.845 30367-30442/animaltracking.kevell.com.myapplication 
  W/System.err: java.net.SocketException
  01-17 16:21:56.845 30367-30442/animaltracking.kevell.com.myapplication 
  W/System.err: MESSAGE: java.net.ConnectException: Connection refused
  </code></pre>