Skip to main content
Version: 8.1

Connecting to PostgreSQL

Inductive University

Connecting to PostgreSQL

Watch the video

Connect Ignition to the PostreSQL Database

  1. On the Gateway Webpage, go to the Config section.

  2. Scroll down to Databases > Connections.

    " "

  1. The Database Connections page is displayed. Click on Create new Database Connection....

    " "

  2. Select the PostgreSQL JDBC Driver and click Next.

  3. Next, you'll need to enter information that will allow the Gateway to connect to a Postgres instance. In most cases, the following properties should be updated:

    • Name: The name of the database connection. Other features in Ignition will reference this connection by the name specified here.

    • Connect URL: A URL that describes where on the network the database is, as well as information about which database to connect to. The initial value should look something like the following:


      However, you may need to make some changes. If we examine the key pieces of the URL, it would look like this:



      • 1 = The IP Address or hostname of the computer/sever that Postgres is installed on

      • 2 = The port that Postgres is running on. The default is 5432, but this could have been changed during installation, or sometime afterwards. When in doubt, ask the person that installed the database.

      • 3 = The database name that this connection will provide access to.

    • Username: The username that the Gateway will use to connect to the database.

    • Password: The password that the Gateway will use to connect to the database.

  1. Click Create New Database Connection at the bottom of the form.

  2. The Database Connections page is displayed showing the Status of your connection as Valid.

  3. To display the details about the status of your database connection, see the Note on the above window and click on the Database Connection Status link.

JDBC Drivers and Translators

In some cases, you may need to add your own JDBC Driver, or configure a Translator. More information on configuring these can be found on the JDBC Drivers and Translators page.