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:
mysqli error: [2003: Can't connect to MySQL server on 'mahara-moodle_lab-database' (111 "Connection refused")] in CONNECT(mahara-moodle_lab-database, 'mahara', '****', mahara)