Error connecting to database - check your database connection properties in the constants.php file!


SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
PHP Version : 7.4.11

Warning: mysqli::__construct(): (HY000/2002): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\includes\defini.php on line 27
Fallo al conectar a MySQL: (2002) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Warning: mysqli::set_charset(): Couldn't fetch mysqli in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\includes\defini.php on line 30

Warning: mysqli_set_charset(): Couldn't fetch mysqli in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\includes\defini.php on line 31

Warning: PDO::prepare(): SQLSTATE[00000]: No error: PDO constructor was not called in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\index.php on line 34

Fatal error: Uncaught Error: Call to a member function execute() on null in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\index.php:35 Stack trace: #0 {main} thrown in D:\Inetpub\vhosts\colegiocsapiens.com.br\httpdocs\index.php on line 35