Add DBPORT and use specified users on upgrade script