Warning: mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/garaelg/www/connexion-sql.php on line 30

Warning: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/garaelg/www/connexion-sql.php on line 30

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in /home/garaelg/www/connexion-sql.php:31 Stack trace: #0 /home/garaelg/www/connexion-sql.php(31): mysqli_query(false, 'SET NAMES utf8') #1 /home/garaelg/www/header.php(4): include_once('/home/garaelg/w...') #2 /home/garaelg/www/index.php(2): include('/home/garaelg/w...') #3 {main} thrown in /home/garaelg/www/connexion-sql.php on line 31