The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi everyone, can anyone tell me how to connect the PostgreSQL database to Power BI and what are the requirements needed to connect PostgreSQL database to Power BI? I already have the credentials such as:
username: hev
password: SYGY_bnshjghbd
host= db-postgresql-sgp1-97785-do-user-17837426-0.i.db.ondigitalocean.com
port: 25060
database: mydatabase
sslmode: require
Solved! Go to Solution.
Hi @sofiee_ans - No, but you must install the PostgreSQL ODBC or Npgsql driver.
software links:
Once the above connectors installed, Open Power BI Desktop>>Click on Get Data → Database → PostgreSQL database → Click Connect.
Enter in the server section:
Server: db-postgresql-sgp1-97785-do-user-17837426-0.i.db.ondigitalocean.com,25060
Database: mydatabase
Username: hev
Password: SYGY_bnshjghbd
What does sslmode=require mean?
It forces Power BI to connect to PostgreSQL only over a secure SSL/TLS connection.
Without this, the connection may be rejected.
Power Query PostgreSQL connector - Power Query | Microsoft Learn
PostgreSQL: Documentation: 17: 18.9. Secure TCP/IP Connections with SSL
I hope the above details helps.
Proud to be a Super User! | |
Hi @sofiee_ans
Is PostgreSQL installation necessary?
What does sslmode=require mean?
What credentials are required for the server section?
Hi @sofiee_ans
Is PostgreSQL installation necessary?
What does sslmode=require mean?
What credentials are required for the server section?
I already connect PostgreSQL Database to Power BI, however there are some sort of error when I want to load the data. Is there anything I should do to troubleshoot the problem?
Hi @sofiee_ans - No, but you must install the PostgreSQL ODBC or Npgsql driver.
software links:
Once the above connectors installed, Open Power BI Desktop>>Click on Get Data → Database → PostgreSQL database → Click Connect.
Enter in the server section:
Server: db-postgresql-sgp1-97785-do-user-17837426-0.i.db.ondigitalocean.com,25060
Database: mydatabase
Username: hev
Password: SYGY_bnshjghbd
What does sslmode=require mean?
It forces Power BI to connect to PostgreSQL only over a secure SSL/TLS connection.
Without this, the connection may be rejected.
Power Query PostgreSQL connector - Power Query | Microsoft Learn
PostgreSQL: Documentation: 17: 18.9. Secure TCP/IP Connections with SSL
I hope the above details helps.
Proud to be a Super User! | |