Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Db.php on line 31

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known' in /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Db.php:31 Stack trace: #0 /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Db.php(31): PDO->__construct('mysql:host=mysq...', 'distanceysite', 'baRMmvi2', Array) #1 /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Db.php(124): Mdg\Db::getInstance() #2 /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Cache.php(46): Mdg\Db::delete('mdgcache', '1=1') #3 /home/distancey/www/2019/index.php(62): Mdg\Cache::clear() #4 {main} thrown in /home/distancey/www/2019/mdgAdm/php/libs/Mdg/Db.php on line 31