> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly postgres connect

Connect to the Postgres console

## Usage

```
fly postgres connect [flags]
```

## Options

```
  -a, --app string        Application name
  -c, --config string     Path to application configuration file
  -d, --database string   The name of the database you would like to connect to (default "postgres")
  -h, --help              help for connect
  -p, --password string   The postgres user password
  -u, --user string       The postgres user to connect with (default "postgres")
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly postgres](/flyctl/cmd/fly_postgres)	 - Unmanaged Postgres cluster commands
