- Download and install Npgsql (latest version from the official github repo : link here).
- Download the AWS RDS public certificate (certificate to download) on your desktop for instance.
- Download the last version of openssl (link here). Unzip the file on you desktop for instance - just keep in mind the link of openssl.exe which is in "bin" folder extracted. You we'll need it in step 4).
- Set OpenSSL to your PATH variable (See Youtube video here).
- Create a .crt file from the .pem file downloaded in step 1 : open a console on Windows (Win + R, then enter "cmd" and OK) and past this following line in your console (openssl x509 -outform der -in rds-combined-ca-bundle.pem -out rds-combined-ca-bundle.crt). Do not forget to indicate the PATH of your AWS RDS public certificate downloaded on step 1 (rds-combined-ca-bundle.pem)
- Install the certificate from the newly created (.crt) file. (Just follow these steps)
- Reboot your computer :-)
- Connect!
Forum Discussion
Connect PowerBI Desktop with PostgreSQL
pulkitg123, thanks for your advice, but tihs is quite a challenge for non-developers. Maybe can you further elaborate on the steps? how exactly do I install openssl from the Google Library?
Also Microsoft, why aren't you providing more native working connections? Tableau has all of these working out of the box.
Cheers,
Konrad
Maybe a more detailed view even if the post of @pulkitg123 seems to be enough.
My OS : Windows 2012 Server R2
My Database is stored on AWS. This is a PostGreSQL database using RDS AWS service.
- kschaefers9 years agoResolver I
michaeldurieux, thanks a lot for this detailed description. However, it still does not work for me.
I am getting the following error message:
I am connecting to our AWS database through a tunnel which uses port 10001 on my machine. So in the connection settings I tried 127.0.0.1 (works e.g. in HeidiSQL) or localhost:10001. But neither of those work :(
- kschaefers9 years agoResolver I
Okay, this just got even worse :).
I reinstalled the latest npgsql version from here
https://github.com/npgsql/npgsql/releases
and now I am getting this message:
Why is this so difficult in Power BI?
I don't understand, why they even list PostgreSQL as an option, when you basically need an engineering degree to get it working :).
- michaeldurieux9 years agoHelper I
Could you try to reinstall npgsql with ticking the two options during the setup (and then reboot your PC) ?
Let us know.
Cheers.
Michaël