Mahara: Site unavailable

Mahara could not connect to the application database.

* If you are using Mahara, please wait a minute and try again
* If you are the administrator, please check your database settings and make sure your database is available

The error received was:
postgres9 error: [-1: Database connection failed] in CONNECT(kineoapac-prod1-dbp2.postgres.database.azure.com, 'mauhas_live', '****', mauhas_live)