<?php //this file contains information to connect to database
DEFINE(‘DB_USER’, ‘root’);
DEFINE(‘DB_PASSWORD’, ‘root’);
DEFINE(‘DB_HOST’, ‘localhost’);
DEFINE(‘DB_NAME’, ‘helpDesk’);
$dbc = @mysqli_connect(DB_USER, DB_PASSWORD, DB_HOST, DB_NAME) OR die ('could not connect to the database: ’ . mysqli_connect_error());
mysqli_query($dbc, ‘SET NAMES utf8’);
?>
I get this “could not connect to the database: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known”
Is this wrong?