Warning: mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/lib/classes.php on line 24 Fatal error: Uncaught exception 'Exception' with message 'A Conexao falhou: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' in /var/www/lib/classes.php:26 Stack trace: #0 /var/www/lib/classes.php(38): conexao->connect() #1 /var/www/index.php(15): conexao->query('SELECT * FROM s...') #2 {main} thrown in /var/www/lib/classes.php on line 26