Database Connection
|
Prerequisites
|
---|---|
Local database connection
|
• PostgreSQL installed, and the path to PostgreSQL/bin should be in the PATH environment variable.
• The host on which ThingWorx Flow is to be installed must have access to the PostgreSQL server.
• Updated the pg_hba.conf file to allow connections to PostgreSQL from the ThingWorx Flow host.
For example, if ThingWorx Flow is installed on the same host as PostgreSQL, update the pg_hba.conf file to set the password authentication method to md5, password, or trust. However, trust is not recommended.
The following is an example of the pg_hba.conf file with password authentication set to md5:
$ Edit pg_hba.conf for following:
... # "local" is for Unix domain socket connections only local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 For more information about the pg_hba.conf file, see this link.
|
Remote database connection
|
• Install the psql client that is compatible with your PostgreSQL version.
• Add the installed psql to the PATH environment variable. You can follow these steps:
b. Install the pgadmin client.
c. Update the PATH environment variable to append to the path where the pgadmin client is installed.
|
|
Ensure that you are installing ThingWorx Flow on the supported version of Red Hat Enterprise Linux. For more information, see Supported operating systems.
|
Database Connection
|
Prerequisites
|
---|---|
Local database connection
|
• PostgreSQL installed, and the path to PostgreSQL/bin should be in the PATH environment variable.
• The host on which ThingWorx Flow is to be installed must have access to the PostgreSQL server.
• Updated the pg_hba.conf file to allow connections to PostgreSQL from the ThingWorx Flow host.
For example, if ThingWorx Flow is installed on the same host as PostgreSQL, update the pg_hba.conf file to set the password authentication method to md5, password, or trust. However, trust is not recommended.
The following is an example of the pg_hba.conf file with password authentication set to md5:
$ Edit pg_hba.conf for following:
... # "local" is for Unix domain socket connections only local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 For more information about the pg_hba.conf file, see this link.
|
Remote database connection
|
Install the psql client that is compatible with your PostgreSQL version.
|