Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/user191/public_html/includes/cnx.php on line 7

Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/user191/public_html/includes/cnx.php on line 7

Warning: mysql_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/user191/public_html/includes/cnx.php on line 7
I cannot connect to the database becausephp_network_getaddresses: getaddrinfo failed: Name or service not known