Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[42000] [1049] Unknown database 'api'

Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp

Stack Trace