title: Access a MySql Database from PHP (not on localhost)
body: <p>there's this server:
  <a href="http://phpmyadmin.pvdata.fr/index.php" rel="nofollow">http://phpmyadmin.pvdata.fr/index.php</a> ,
  I can connect to it knowing the username and password and Server Choice.</p>
  
  <p>Once I connect to it, it shows under MySql the following information: (I'm Translating from French)</p>
  
  <pre><code>Server:  sql6 (sql6 via TCP/IP)
  Server Version: 5.0.92-87
  Protocol Version: 10
  Username: pvdata@10.5.1.3
  Character for MySql: UTF-8 Unicode (utf8)
  </code></pre>
  
  <p>So I tried using the following code in order to connect to the Database:</p>
  
  <pre><code>&lt;?php
  // Create connection
  $username = "pvdata";
  $password = "xxxxxxxx";
  $hostname = "10.5.1.3"; 
  $dbhandle = mysql_connect($hostname, $username, $password) 
  or die("Unable to connect to MySQL");
  ?&gt;
  </code></pre>
  
  <p>But it didn't work, it's saying: "A connection attempt failed because the connected party did not properly respond after a period of time". 
  What am I doing wrong?</p>