How Do I Connect to a PostgreSQL Database?
    • 25 Jun 2024
    • 1 Minute to read
    • Contributors
    • PDF

    How Do I Connect to a PostgreSQL Database?

    • PDF

    Article summary

    Lasernet 6.7 or nevwer must have an external driver to use a PostgreSQL database connection. Follow these steps:

    1. Find the libpq.dll and libintl-8.dl files from inside the PostgreSQL installation folder.

    2. This file then needs to be placed into the main installation folder of Lasernet.

    3. After copying, restart the Lasernet service and reopen the Lasernet Developer.

    Note

    64-bit Lasernet 6.7 and newer requires 64-bit drivers.

    1. Define the PostgreSQL path in Environment Variables: %PGROOT%\bin.

    2. To get a connection with PostgreSQL installed on the same server as Lasernet, the following fields must be set:

    1. Click the Test Connection button to verify the setting. If every field is correct, you will have the message “Connection succeeded!” as follows:

    This connection can be saved and then referenced in Database Commands.


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.