title: Connecting to a remote database from a localhost computer using mysql and PHP
body: <p>So here is the situation.
  I have a database on a remote server that gives out quizzes and scores for individual students...</p>
  
  <p>I also have a local database which contains the students names and their respective groups.</p>
  
  <p>What I want to do is to display the list of students per group then show the results of their scores from the remote database.. Is this possible??</p>
  
  <p>Im currently running the script from my local computer using XAMMP like so
  mysql_connect("REMOTE SERVER ADDRESS","USERNAME", "PASSWORD") or die("Could not connect to MySQL server!");</p>
  
  <p>But all I get is Could not connect to MySql Server.. </p>