title: Failed to connect to MySQL at 127.0.0.1 in MySQL Workbench. System error 61
body: <p>I'm running into a little trouble with MySQL Workbench.
  This is the situation, I'm developing a database to query it remotely from Android devices. This is the first time I use MySQL Workbench, so I've followed this tutorial:</p>
  
  <p><a href="http://net.tutsplus.com/tutorials/databases/visual-database-creation-with-mysql-workbench/" rel="nofollow">http://net.tutsplus.com/tutorials/databases/visual-database-creation-with-mysql-workbench/</a></p>
  
  <p>I have no problem creating the EER diagram and generating the SQL script. The problem comes when I try to connect to a MySQL server. I get this error: </p>
  
  <p>"<strong><em>Failed to Connect to MySQL at 127.0.0.1:3306 with user root. Lost connection to MySQL server at 'reading initial communication packet', system error: 61</em></strong>"</p>
  
  <p><a href="http://img101.imageshack.us/i/capturadepantalla201104i.png/" rel="nofollow">http://img101.imageshack.us/i/capturadepantalla201104i.png/</a> (if the link stops working tell me)</p>
  
  <p>I've also tried using the Local Socket/Pipe connection method with the MAMP Socket in '/Applications/MAMP/tmp/mysql/mysql.sock', but it gives the same error. And I've also tried using MAMP port 8889 but still nothing.</p>
  
  <p>So anyone knows how to fix it? And another question, can I connect from my Android device to my laptop(where the database is placed) without using MAMP? MySQL needs MAMP to serve queries? And the last thing, am I going into the right way? Or should I do it other way?</p>
  
  <p>Thanks for reading.</p>