title: I am getting the error that database is unknown
body: <p>Where is mistake? I try to connect to database from php script. I am getting the error that database is unknown. Database for sure exists, i can see this from PhpMyAdmin.
  I use XAMPP v3.2.1 with mysqlnd 5.0.11-dev and php v5.5.9. </p>
  
  <p>Script file debug1.php in folder c:\xampp\htdocs:</p>
  
  <pre><code>$conn=mysqli_connect( 'localhost', 'root', '', $vdbname ) or die( "cannot connect to server".mysqli_error() ); 
  </code></pre>
  
  <p>When i run this file from browser windows using url: "localhost/debug1.php" i am getting error message:</p>
  
  <pre><code>Warning: mysqli_connect(): (HY000/1049): Unknown database 'gintare_calendar' in C:\xampp\htdocs\debug1DBconn.php on line 5
  </code></pre>