Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: YES) in /var/www/html/Clases25-26/DWESE-SimpleMVC/config/database.php:8
Stack trace:
#0 /var/www/html/Clases25-26/DWESE-SimpleMVC/config/database.php(8): PDO->__construct()
#1 /var/www/html/Clases25-26/DWESE-SimpleMVC/app/Models/productModel.php(14): Database::connect()
#2 /var/www/html/Clases25-26/DWESE-SimpleMVC/app/Controllers/productController.php(14): ProductModel->__construct()
#3 /var/www/html/Clases25-26/DWESE-SimpleMVC/start.php(8): ProductController->__construct()
#4 {main}
thrown in /var/www/html/Clases25-26/DWESE-SimpleMVC/config/database.php on line 8