Heroku is a cloud platform-as-a-service based on a managed container system. It supports multiple programming languages, has powerful integrated data services and mighty ecosystem that allows developers deploy and run modern apps. dbForge Data Compare for PostgreSQL has implemented support for Heroku.
Each Heroku-based PostgreSQL database has a corresponding Heroku application. The database is attached to the Heroku app and can be accessed through an app config var that contains the database URL.
1. Open the Database Connection Properties dialog by any of the following ways:
2. On the General tab, specify your database connection properties.
To get all database connection properties from Heroku CLI, invoke your process as follows:
DATABASE_URL=$(heroku config:get DATABASE_URL -a test-app)
To get all database connection properties from Heroku Console, go to the Settings tab and click the Reveal Config Vars button.
3. Switch to the Security tab, check Use security protocol, and select Use SSL.
Note
You can specify the location of the certificates in the corresponding fields, but this is optional.
4. Optional: To test the created connection, click the Test Connection.
5. Click OK to establish the database connection.