I can't set remote database

➜  my-project git:(main) ✗ supabase init

Generate VS Code settings for Deno? [y/N] N
Generate IntelliJ Settings for Deno? [y/N] N
Finished supabase init.
➜  my-project git:(main) ✗ supabase db remote set --db-url "$SUPABASE_DB_URL"

Manage remote databases

Usage:

Flags:
      --db-url string     Connect using the specified Postgres URL (must be percent-encoded).
  -h, --help              help for remote
      --linked            Connect to the linked project. (default true)
  -p, --password string   Password to your remote Postgres database.
  -s, --schema strings    Comma separated list of schema to include.

Global Flags:
      --create-ticket                                  create a support ticket for any CLI error
      --debug                                          output debug logs to stderr
      --dns-resolver [ native | https ]                lookup domain names using the specified resolver (default native)
      --experimental                                   enable experimental features
      --network-id string                              use the specified docker network instead of a generated one
  -o, --output [ env | pretty | json | toml | yaml ]   output format of status variables (default pretty)
      --profile string                                 use a specific profile for connecting to Supabase API (default "supabase")
      --workdir string                                 path to a Supabase project directory
      --yes                                            answer yes to all prompts
➜  my-project git:(main) ✗ ls -la supabase
total 20
drwxr-xr-x 1 admin admin    52 Oct 24 04:10 .
drwxr-xr-x 1 admin admin  1038 Oct 24 04:10 ..
-rw-r--r-- 1 admin admin 13017 Oct 24 04:10 config.toml
-rw-r--r-- 1 admin admin    72 Oct 24 04:10 .gitignore
drwxr-xr-x 1 admin admin    20 Oct 24 04:10 .temp
Was this page helpful?