改进了一下DBManager的初始化

Signed-off-by: shines77 <gz_shines@msn.com>