Question
How can I connect UIPath to a Postgresql database?
Step by step guide
Prerequisites:-
- Please follow the steps mentioned in the link below to download and install and PostgreSQL.
- http://www.postgresqltutorial.com/install-postgresql/
- Please download the 32-bit version of PostgreSQL Windows Installer.
- Install PostgreSQL.
- Verify the installation
Please follow the steps below:-
- Install PostgreSQL driver (32-bit) from the following link Link. Navigate to the link and click on โ PostgreSQL download site โ to open the download page. Then select the โ MSI โ from the directories section and then select โ psqlodbc_09_05_0400-x86.zip โ or any respective 32-bit driver.
- Now, Create and configure the DNS using ODBC driver with PostgreSQL driver
- In windows, search for โ ODBC Data Sources (32-bit) โ and open it.
- In the โ User DSN โ tab click on the โ Add New โ button.
- Select โ PostgreSQL Unicode โ and click on โ Finish โ.
- A new Configuration window will appear. So you need to fill in the required details into it and then test if your connection is successful.
-
Once the connection is successful you can go ahead and use PostgreSQL with UiPath.
- Open UiPath Studio and drag a โ Connect โ activity from Database Package.
- Click on โ Connection Wizard โ and select the โ Microsoft ODBC Data Source โ and then click โ OK โ
- In the โ Data Source Specification โ select the โ Use user or system data source name โ and from the drop-down select the recently created DSN source.
- Enter the โ User Name โ, โ Password โ and then test your connection.
- Once the connection is successful you can go ahead and use the PostgreSQL Database with UiPath.