Fatal error: Uncaught Exception: Veritabanı bağlantısı başarısız: SQLSTATE[HY000] [2002] Connection refused. PDO driver kontrolü yapın. in /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Database.php:42
Stack trace:
#0 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Database.php(49): Database->__construct()
#1 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Controller.php(26): Database::getInstance()
#2 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/app/controllers/BaseController.php(10): Controller->__construct()
#3 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/app/controllers/BlogController.php(11): BaseController->__construct()
#4 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Router.php(263): BlogController->__construct()
#5 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Router.php(190): Router::runAction()
#6 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/App.php(50): Router::dispatch()
#7 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/App.php(35): App->handleRequest()
#8 /var/www/vhosts/trxyazilimapi.xyz/httpdocs/public/index.php(33): App->__construct()
#9 {main}
thrown in /var/www/vhosts/trxyazilimapi.xyz/httpdocs/core/Database.php on line 42