Use database number from redis url if available.