Fatal error: Uncaught PDOException: Falha ao conectar ao banco de dados: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) in /home1/richa276/laboratoriodasorte.com.br/app/Core/Database.php:36
Stack trace:
#0 /home1/richa276/laboratoriodasorte.com.br/app/Models/ConfiguracaoRepository.php(18): App\Core\Database::connection()
#1 /home1/richa276/laboratoriodasorte.com.br/app/Controllers/HomeController.php(34): App\Models\ConfiguracaoRepository->__construct()
#2 [internal function]: App\Controllers\HomeController->index()
#3 /home1/richa276/laboratoriodasorte.com.br/app/Core/Router.php(46): call_user_func_array(Array, Array)
#4 /home1/richa276/laboratoriodasorte.com.br/public/index.php(78): App\Core\Router->dispatch('GET', '/')
#5 {main}
thrown in /home1/richa276/laboratoriodasorte.com.br/app/Core/Database.php on line 36