Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm trying to setup a datasource for my PostgreSQL database using ODBC. I can't use the PostgreSQL connector because I get certificate errors (the database is in a remote server).
I downloaded and installed both 32 and 64 bit versions of the PostgreSQL ODBC driver. I set up a DSN using the ODBC data source tool for PostgreSQL Unicode (x64), which seems to work because I use that DSN on DBeaver and the database loads perfectly.
Now I try to use that DSN in Power BI Desktop: Get Data > ODBC > MyDSN. The connection seems to work and I see all the tables from my database, but when I try to load the content of any table in the Navigator panel I get this error:
DataSource.Error: ODBC: ERROR [HY000] Error while executing the query
Details:
DataSourceKind=Odbc
DataSourcePath=dsn=MyDSN
OdbcErrors=TableAnd no data is loaded.
Things I have tried and did not work:
- Using the UNICODE driver, same problem.
- Using the 32 bit driver, I get "architecture don't match" error.
- Using ODBC connection string instead of DSN, same problem.
I'm using the latest Power BI Desktop version (2.56.5023.1021 64-bit)
Thank you ! ![]()
HI @VPerez,
Current power bi alreated exist built-in PostgreSQL connector, please use specific connector to instead.
In addition, you can also try to use UDL to test odbc connection.
Regards,
Xiaoxin Sheng
I understand this post is from awhile ago, but why is the HY000 error occuring? I have a case where this is happening for one connection but not to another.
So while continuing to use the ODBC connection, how do I correct/fix this HY000 error?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.