title: Lost connection to MySQL server, system error: 111
body: <p>When I try to connect to my databases, I get this error:</p>
  
  <pre><code>Lost connection to MySQL server at 'reading initial communication packet', system error:111
  </code></pre>
  
  <p>Here is my PHP code (it's just a test):</p>
  
  <pre><code>&lt;?php
  @session_start(); 
  include(".conf.php");
  print_r($conf);
  $con = mysql_connect($conf['db_hostname'], $conf['db_username'], $conf['db_password']) or die (mysql_error());
  mysql_select_db("aTableName", $con);
  $prof = '000';
  //$prof = $_GET['profile'];
  $prof = addslashes(htmlentities($prof));
  $result = "SELECT * FROM aTableName WHERE id = '$prof'";
  $q = mysql_query($result, $con);
  $qarr = mysql_fetch_array($q);
  print_r($qarr); 
  ?&gt;
  </code></pre>
  
  <p><em>Any</em> help would be appreciated. I can't figure it out and it's really bugging me. Thank you!</p>
  
  <p>EDIT: I am hosting on GoDaddy, hosting and databases.</p>