bugfix: fixed quelling of warning if $db_port not specified