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 all, I am connecting to my PostgreSQL dB using ODBC for Power BI. When I tested my connection in ODBC, it worked fine. When I tested the connection again in my IDE, it worked fine.
When I am trying to establish connection to Power BI, it returns this error message:
DataSource.Error: ODBC: ERROR [08001] could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5431?
FATAL: password authentication failed for user "readonly"
I don't know what's wrong because I am very sure the password is exactly what is given to me by my IT admin guy. Please help.
having the same error here, in windows too, could you manage to solve it @Alex_Ooi ?
@Alex_Ooi
Try the troubleshooting solution here: https://www.ionos.com/community/hosting/postgresql/troubleshoot-a-postgresql-could-not-connect-to-se...
To correct this, edit your posgresql.conf file:
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous I don't think this is applicable to me as I am using Windows OS. Apologies for not mentioning this earlier.
@amitchandak hi, thanks for your reply. Yes, I am giving the correct url. Like I said, there is no problem with the connection when I established it in ODBC and my IDE.