Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/rewards.php:18 Stack trace: #0 /var/www/html/rewards.php(18): PDO->__construct('mysql:host=51.1...', 'website', '1d+2N/1.11!2008...', Array) #1 /var/www/html/rewards.php(42): DB->__construct(Array) #2 {main} thrown in /var/www/html/rewards.php on line 18