<reponame>liranmatcu/Database<filename>PHP-Nginx/scripts/test-connection.php<?php

$servername = "mysql";
$username = "root";
$password = "password";
$database = "COMPANY";

// MySQLi Procedural

// Create connection
$conn = mysqli_connect($servername, $username, $password, $database);

// Check connection
if (!$conn) {
  die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";

mysqli_close($conn);
?>
