title: Can't connect to MySQL server on 'ipaddress' (110)
body: <p>So I have a PHP file hosted on Namecheap server. </p>
  
  <pre><code>$db=mysql_connect  ("ipaddress", "user",  "pass") or die ('I cannot connect to the database because: ' . mysql_error());
  </code></pre>
  
  <p>and it gives this error:</p>
  
  <p>I cannot connect to the database because: Can't connect to MySQL server on 'ipaddress' (110)</p>
  
  <p>I CAN connect to this DB using mysql workbench outside of the network just fine. </p>