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: [1044: Access denied for user 'myschool_maha587'@'localhost' to database 'myschool_maha587'] in CONNECT(localhost, 'myschool_maha587', '****', myschool_maha587)