Changing db and generate3Conn to get3Conn.