My configuration: Webserver :- xampp PHP :- 7.3.3 OS :- windows
mysqli::__construct(): (HY000/2002)
$dbServerName = "amazonaws.com"; $dbUsername = "example"; $dbPassword = "*******"; $dbName = "example"; // create connection $conn = new mysqli($dbServerName, $dbUsername, $dbPassword, $dbName); // check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } echo "Connected successfully";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)