Hello @UiPath_Community ,
Can any one help me to connect postgresql database with UiPath studio, where postgresql is on remote virtual machine. I have available the following:
host, username, password, DatabaseName.
Hello @UiPath_Community ,
Can any one help me to connect postgresql database with UiPath studio, where postgresql is on remote virtual machine. I have available the following:
host, username, password, DatabaseName.
@Subhamay_Maity1 Refer this post
I already gone through this post. But my sql server is on remote virtual machine.
It doesn’t matter where it is. Either you can connect to it or you can’t. If you can’t, then you need to find out from your network team how to connect to it.
Certainly! To connect to a PostgreSQL database on a remote virtual machine from UiPath Studio, you can use the “Database” activities and provide the necessary connection details such as the host, username, password, and database name. Here are the steps:
Install PostgreSQL ODBC Driver (If Not Installed):
Open UiPath Studio:
Install UiPath.Database.Activities Package:
Add a Database Connection Activity:
Configure the Database Connection:
"Server=your_host;Port=your_port;Database=your_database_name;User Id=your_username;Password=your_password;"
your_host
, your_port
, your_database_name
, your_username
, and your_password
with the actual values.Test the Connection:
Use Database Activities:
Close the Connection:
Error Handling:
Remember to securely manage your database credentials and ensure that your remote PostgreSQL server is configured to accept connections from your UiPath machine’s IP address or hostname.
By following these steps, you should be able to connect to your remote PostgreSQL database from UiPath Studio and perform database operations as needed in your automation.
Thanks!!
For my case, there was some system configuration problem.
Thanks everyone!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.