<?php

$hostname = "localhost";
$username = "root";
$password = "";
$dbname = "biblioteca";

$conn = mysqli_connect($hostname, $username, $password, $dbname);

if (!$conn) {
    echo "Error: " . mysqli_connect_error();
}