I get this error when I submit the login form.
The database named login does exist.


I'm using wamp
This is the PHP code:
$servername ="localhost";
$dBUsername="root";
$dBPassword="";
$dBName="login";
$conn=mysqli_connect($servername,$dBUsername,$dBPassword,$dBName);
if (!$conn) {
die("Ni uspilo:".mysqli_connect_error());
}