Erro na conexão com o banco de dados: SQLSTATE[HY000] [2002] Connection refused
Warning: Undefined variable $pdo in /var/www/html/noticia.php on line 6

Fatal error: Uncaught Error: Call to a member function query() on null in /var/www/html/noticia.php:6 Stack trace: #0 {main} thrown in /var/www/html/noticia.php on line 6