PDO error in PHP

Im getting this error after installing a PHP script.

PHP Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known!

Please someone help me in this.

Sorry, I have no information regarding this script. Please contact the script author.