Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it in C:\xampp\htdocs\core\Database.php:11
Stack trace:
#0 C:\xampp\htdocs\core\Database.php(11): PDO->__construct('mysql:host=loca...', 'root', Object(SensitiveParameterValue), Array)
#1 C:\xampp\htdocs\app\Models\Product.php(6): Database::connect()
#2 C:\xampp\htdocs\index.php(13): Product::byId('u080900')
#3 {main}
thrown in C:\xampp\htdocs\core\Database.php on line 11