<?php

$con=mysqli_connect("localhost","root","","faisal2");
if ($con)
{
echo "Connected";
}
else
{
echo "Not Connected";
}
?>