# How to connect to postgresql database

**URL:** <https://forum.uipath.com/t/how-to-connect-to-postgresql-database/119336>\
**Category:** Help\
**Tags:** database, activities\
**Created:** [May 24, 2019, 6:42am UTC](https://forum.uipath.com/t/how-to-connect-to-postgresql-database/119336 "2019-05-24T06:42:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudiojody](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/claudiojody/32/117896_2.png) [@claudiojody](https://forum.uipath.com/u/claudiojody)\
**Post date:** [May 24, 2019, 6:42am UTC](https://forum.uipath.com/t/how-to-connect-to-postgresql-database/119336/1 "2019-05-24T06:42:02Z")

</div>

Hello guys,

I want to connect UiPath to my database in postgresql. It appears error like this.

 ![nanyaforum%203](https://global.discourse-cdn.com/uipath/original/3X/a/6/a6974c4a78b6e184ae1b89dec26d1d8ae04e74da.png)

What should I do? Thank you for the help.

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [May 24, 2019, 8:11am UTC](https://forum.uipath.com/t/how-to-connect-to-postgresql-database/119336/2 "2019-05-24T08:11:11Z")

</div>

@claudiojody

Please check below thread and may be it will help to you.

> [@PostGresql Configure connection](https://forum.uipath.com/t/postgresql-configure-connection/63211/3):
>
> Hi @shanvj, Please try the following steps for PostGresql Connection PostgreSQl DB Conncetivity ISSUE : When We are giving “Connection String” to the New connection Database Step 1 : Install ODBC driver(32-bit) from “[https://dev.mysql.com/downloads/connector/odbc/5.3.html”](https://dev.mysql.com/downloads/connector/odbc/5.3.html%E2%80%9D) Step 2: Install PostgreSQL driver(32-bit) from “[https://jdbc.postgresql.org/”](https://jdbc.postgresql.org/%E2%80%9D) Step 3: Now, Create .DNS file using ODBC driver with PostgreSql driver Step 4: Now Configure the DNS file with the details of DB, User nam…

---

<div class="post-metadata">

**Author:** ![balupad14](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/balupad14/32/462142_2.png) [@balupad14](https://forum.uipath.com/u/balupad14)\
**Post date:** [August 1, 2019, 6:51am UTC](https://forum.uipath.com/t/how-to-connect-to-postgresql-database/119336/3 "2019-08-01T06:51:58Z")

</div>

Hi,  
Here you can get the Postgresql custom activities from UiPath Go !

> [@UiPath Go ! BalaReva PostgreSQL](https://forum.uipath.com/t/uipath-go-balareva-postgresql/138595):
>
> Hi Guys, I have successfully uploaded PostgreSQL in UiPath Go.This package contains the below activities . Execute DataTable This brings the information from database even if you use the direct query or stored procedure. Execute NonQuery It helps to execute To insert, update and delete statements. Execute Scalar Returns the first column of the first row in the result set returned by the query or stored procedure as Object. [https://go.uipath.com/component/balareva-postgresql-activities](https://go.uipath.com/component/balareva-postgresql-activities) …

Regards  
Balamurugan.S
