Erro ao conectar: SQLSTATE[HY000] [2002] No route to hostErro ao conectar: SQLSTATE[HY000] [2002] Connection timed out
Warning: Undefined variable $conn in /home/fatrs/www/config/funcaoGeral.php on line 174
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/fatrs/www/config/funcaoGeral.php:174
Stack trace:
#0 /home/fatrs/www/layout/cabecalho.php(16): configuracaoGeral()
#1 /home/fatrs/www/inicio.php(4): require_once('/home/fatrs/www...')
#2 /home/fatrs/www/index.php(13): require('/home/fatrs/www...')
#3 {main}
thrown in /home/fatrs/www/config/funcaoGeral.php on line 174