---
name: "rt-setup-database-3.0"
section: "8"
platform: "linux"
package: "request-tracker3"
version: "3.0.12-7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/rt-setup-database-3.0"
---

# rt-setup-database-3.0(8)

rt-setup-database - Set-up the database for Request Tracker

```
 rt-setup-database --action init⎪drop⎪insert [--datafile <file>] \
     --dba <username> --prompt-for-dba-password⎪--dba-password <guess>
```

```
 action:  init    Initialize the database
          drop    Drop the database.
                  This will ERASE ALL YOUR DATA
          insert  Insert data into RT's database.
                  By default, will use RT's installation data.
                  To use a local or supplementary datafile, specify it
                  using the '--datafile' option below.
```

```
 datafile: /path/to/datafile
```

```
 dba:                      dba's username
 dba-password:             dba's password
 prompt-for-dba-password   Ask for the database administrator's
                           password interactively
```

**get\_system\_dsn** Returns a dsn suitable for database creates and drops and user creates and drops\
 **ACLEquivGroupId** Given a userid, return that user's acl equivalence group
