howto for db