title: mysql_query not using password
body: <p>How can I list the tables in my database?</p>
  
  <p>This is how I'm connecting to the database.</p>
  
  <pre><code>echo "Connected:".CreateCheckMySQLConnection()."&lt;/br&gt;";
  echo "Tables:&lt;/br&gt;".ListTables();
  
  function CreateCheckMySQLConnection() {
      // Create connection
      $conn = new mysqli($GLOBALS['servername'], $GLOBALS['username'], $GLOBALS['password']);
  
      // Check connection
      if ($conn-&gt;connect_error) {
          //die("Connection failed: " . $conn-&gt;connect_error);
          return false;
      } else {
          return true;
      }
  }//End CreateCheckMySQLConnection
  </code></pre>
  
  <p>Thanks, Luke.</p>