I cant connect too.
My code is:
Blockquote<?php
$servername = “localhost” ;
$username = “username” ;
$password = “*******” ;
$db_name = “db name” ;
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
echo “Connected successfully”;
?>
Blockquote
Image of the posible solution: