Connecting to a Remote PostgreSQL Database
- Updated2025-02-19
- 1 minute(s) read
Connecting to a Remote PostgreSQL Database
Configure SystemLink to access a remote PostgreSQL database to enhance scalability and fault tolerance in Test Monitor.
- Launch NI SystemLink Server Configuration.
- Under NI SystemLink Service Manager, click PostgreSQLDatabase.
- Under Configuration, choose whether you want to connect using parameters or a connection string.
-
If you want to connect using parameters, click
Connect to an externally managed server using
parameters and specify the following information:
- Host—The name of the PostgreSQL server.
- Port—The port this connection will use. The most common port is 5433.
- Database—The name of the PostgreSQL database.
- The username and password you use to connect to the PostgreSQL database.
-
If you want to connect using a connection string, click
Connect to an externally managed server using a connection
string and enter it in the Npgsql connection
string textbox.
Refer to the Npgsql documentation for more information about connection string parameters.
- Click Apply.
Related Information
- PostgreSQL documentation
- Npgsql documentation
- Connecting to a Remote File Share
To ensure your SystemLink setup is scalable and fault-tolerant, connect to a remote file share using the Server Message Block (SMB) protocol.
- Setting Up a SystemLink Server
Install and configure SystemLink Server on your host to begin managing systems and working with data. SystemLink Server includes the SystemLink web application and SystemLink APIs.
- Creating a Workspace
Create a workspace to control which systems and data different types of users can interact with.