Set databaseName only temporarily within task.