prepare dbconn for resalt