craete database instance at start time.