add db as config param for connection