Error: Failed to connect to database. Check that the constants are configured correctly.