Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Permission denied in /usr/share/nginx/html/core/Database.php:24
Stack trace:
#0 /usr/share/nginx/html/core/Database.php(30): Database->__construct()
#1 /usr/share/nginx/html/core/Model.php(8): Database::getInstance()
#2 /usr/share/nginx/html/core/Controller.php(6): Model->__construct()
#3 /usr/share/nginx/html/controllers/HomeController.php(5): Controller->model()
#4 /usr/share/nginx/html/index.php(46): HomeController->index()
#5 {main}
thrown in /usr/share/nginx/html/core/Database.php on line 24