title: Need help connecting my App Engine PHP with my Google Cloud SQL Database
body: <p>Below is the sql connection code for my php script as it attempts to connect to my Google SQL Cloud Database</p>
  
  <pre><code>&lt;?php
  
  $con=mysqli_connect(":/cloudsql/projectID:google-cloud-instance","root","root","DATABASE");
  // Check connection
  if (mysqli_connect_errno())
  {
  echo "Oops! Something Must Have Went Wrong?: " . mysqli_connect_error()
  ;`
  </code></pre>
  
  <p>but when I process the overall php script i get the following error:</p>
  
  <pre><code>"php_network_getaddresses: gethostbyname failed. errno=0Error:"
  </code></pre>
  
  <p>I am a beginner at this, so if someone can help me..</p>
  
  <ol>
  <li>Understand what this means</li>
  <li>How the heck can I fix?</li>
  </ol>
  
  <p>Thanks in Advance for the help!</p>