Access a database locally
You can forward a database for local access using the Northflank CLI.
Your database must be running in order to access it.
You can view and copy the command to connect to a specific database on its overview, in the local access section, or use the following commands:
- To forward a specific database:
sudo northflank forward addon --project [project-name] --addon [addon-name]
- To forward all ports in a project:
sudo northflank forward all --project [project-name]
You can now connect to your database locally.