Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/sharedFunctions/sharedFunctions.php:7
Stack trace:
#0 /var/www/html/sharedFunctions/sharedFunctions.php(7): PDO->__construct('mysql:host=loca...', 'teo', '$bwtbPROD2025')
#1 /var/www/html/sharedFunctions/sharedFunctions.php(864): BeachWeb::connect_to_database()
#2 /var/www/html/sharedFunctions/BeachWeb/index.php(17): BeachWeb::select_any_table(' item ', ' permission_id ...', ' max(ID) as max...', NULL, NULL)
#3 {main}
thrown in /var/www/html/sharedFunctions/sharedFunctions.php on line 7