Deu fronho: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. ' in D:\HTTP\elvishelder\web\admin\php\CRUD\Conecta.php:7 Stack trace: #0 D:\HTTP\elvishelder\web\admin\php\CRUD\Conecta.php(7): PDO->__construct('mysql:host=mysq...', 'elvishelder', 'al4nfs9m') #1 D:\HTTP\elvishelder\web\admin\php\CRUD\Products.class.php(10): Conecta->conecta() #2 D:\HTTP\elvishelder\web\include\php\topo.php(7): Products->__construct() #3 D:\HTTP\elvishelder\web\midia.php(3): include('D:\HTTP\elvishe...') #4 {main}Deu fronho: exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. ' in D:\HTTP\elvishelder\web\admin\php\CRUD\Conecta.php:7 Stack trace: #0 D:\HTTP\elvishelder\web\admin\php\CRUD\Conecta.php(7): PDO->__construct('mysql:host=mysq...', 'elvishelder', 'al4nfs9m') #1 D:\HTTP\elvishelder\web\admin\php\CRUD\Products.class.php(11): Conecta->conecta() #2 D:\HTTP\elvishelder\web\include\php\topo.php(7): Products->__construct() #3 D:\HTTP\elvishelder\web\midia.php(3): include('D:\HTTP\elvishe...') #4 {main}
Fatal error: Call to a member function prepare() on a non-object in D:\HTTP\elvishelder\web\admin\php\CRUD\CRUD.php on line 45