use provided $name for application directly for $database