config database to ipat.in.th