Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/public/functions.php:21
Stack trace:
#0 /var/www/public/header.php(36): require_once()
#1 /var/www/public/signup.php(2): require_once('/var/www/public...')
#2 {main}
thrown in /var/www/public/functions.php on line 21