set db to dialect