Matricular- se

Connection failed: SQLSTATE[HY000] [2002] No such file or directory
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/vhosts/interclasse.com.br/httpdocs/unimestre/interclasse/includes/classes/Database.php:75 Stack trace: #0 /var/www/vhosts/interclasse.com.br/httpdocs/unimestre/interclasse/includes/classes/Cursos.php(998): Database->select(Array) #1 /var/www/vhosts/interclasse.com.br/httpdocs/unimestre/interclasse/checkout.php(58): Cursos->data_by_id('333') #2 {main} thrown in /var/www/vhosts/interclasse.com.br/httpdocs/unimestre/interclasse/includes/classes/Database.php on line 75