add mutil db support

add mutil db support