Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aab
New Member

ODBC Connection - "Password authentication failed" error

 

 

Hello all,

 

I am having trouble with using the ODBC connection in Power BI Desktop.

 

I have configured the dns data source in Windows settings and then used this data source in ODBC connection in my report to import tables from PostgreSQL database. Everything until now worked perfectly, including data refresh.

 

However, when this report is opened on other PC, the following error message will appear when trying to refresh data:

ODBC: ERROR [08001] FATAL: password authentication failed for user ...

 

The other PC has the data source configured exactly the same way, incl. the name of the data source (and connection test is succesful). Also, importing additional tables using the ODBC data source works fine, just the existing tables will not refresh.

 

Any ideas what may be causing the error?

 

Thanks in advance

 

1 REPLY 1
v-stephen-msft
Community Support
Community Support

Hi  @aab , 

 

Try the troubleshooting solution here: Troubleshoot a PostgreSQL "Could not connect to server" Error - IONOS

 

To correct this, edit your posgresql.conf file:

  • Ubuntu 16.04: sudo nano /etc/postgresql/9.5/main/posgresql.conf
  • CentOS 7: sudo nano /usr/pgsql-10/share/postgresql.conf

     

     

Hope this similar post helps you:

Solved: PostgreSQL ODBC auth failed - Microsoft Power BI Community

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.