[Unknown Error] Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused

GET /site/pages/pageReact.php?page=statutory_information&t=1619052941

Line 254 in /var/www/vhosts/bassingbourn.cambs.sch.uk/httpdocs/vendor/silverstripe/framework/src/ORM/Connect/PDOConnector.php

Source

245                 $options[PDO::ATTR_EMULATE_PREPARES] = (bool)$isEmulatePrepares;
246             }
247 
248             // Disable stringified fetches
249             $options[PDO::ATTR_STRINGIFY_FETCHES] = false;
250         }
251 
252         // May throw a PDOException if fails
253         $this->pdoConnection = new PDO(
254             $this->driver . ':' . implode(';', $dsn),
255             empty($parameters['username']) ? '' : $parameters['username'],
256             empty($parameters['password']) ? '' : $parameters['password'],
257             $options
258         );
259 
260         // Show selected DB if requested

Trace