when run in memory mode, the initial connection used a memory DB,while the second connection used a disk DB