I want to connect a localhost PostgreSQL database with Power BI Desktop. I know how to do it, but I have a question regarding a secure connection. When trying to connect a window pops up saying... Encryption Support We were unable to connect to the data source using an encrypted connection... My question is, how to ensure a encrypted connection with my localhost PostgreSQL database?
Related
I have a PostgreSQL database hosted in private network. i have bastion id, username ,database credentials. how can I connect the database with tableau using ssh key? so far i did not find any viable solution for this problem. I need a solution where tableau with get connected with the database and get live data.
If Tableau doesn't have integrated tools to create the tunnel (and as far as I know it doesn't) then you can create a tunnel yourself using ssh or putty or some python module, for example. Then tell Tableau Desktop to connect to the database at the address of the local end of the tunnel, likely 127.0.0.1:5432.
Following the instructions here, I'm having problem connecting to the DB from Azure Data Studio using the token I generate. It connects to the DB successfully, but as soon as I want to run a simple query ( I already gave my user read access there), it gives me this connection error, and I need to connect using the token again and the disconnection happens again randomly after a short while:
FATAL: Cloud SQL IAM user authentication failed for user
"user#company.com" FATAL: pg_hba.conf rejects connection for host
"...", user "user#company.com", database "db-name",
SSL off
I did some search and found there is also a way of logging in with IAM database authentication using the Cloud SQL Auth proxy but the documentation is limited to Postgress command line and not a GUI database tool like Azure Data Studio. Can anyone shed some light on this about what's needed if you want to connect with a GUI tool in this case?
And about changing the pg_hba.conf file, since I work with a cloud SQL instance, I'm not sure how to turn sslmode off on the cloud instance. I checked the connection tab of my instance and SSL encryption wasn't checked there (not sure if that's the same),and I changed the sslmode to disable on my Azure Data Studio for the connection but it won't allow me to connect after this change:
FATAL: pg_hba.conf rejects connection for host "*.*.*.*", user "user#company.com", database "database", SSL off
Help, anyone?
I've found the answer: we can connect using IAM database authentication using the Cloud SQL Auth proxy. The only step after to be done from the GUI DB tool (mine is Azure Data Studio) would be, to connect to the IP (127.0.0.1 in my case)the Cloud SQL Auth proxy listens on(127.0.0.1 is the default) after starting the Cloud SQL Auth proxy using:
./cloud_sql_proxy -instances=<GCPproject:Region:DBname>=tcp:127.0.0.1:5432
I am working from the Hue Editor (https://demo.gethue.com/hue/accounts/login?next=/) and I want to connect to Tableau for visualizations.
However, there is no place within the GUI where I can simply copy and paste connection details.
How can I find the connection details in order to allow Tableau to connect to these databases?
Tableau is requesting the following details:
Server
Port
You need to create a connection DSN in ODBC. You need to get/install the odbc driver for that first. Once your odbc is set to the Hive DB, then you can connect to it using Tableau Desktop tool.
But i am not sure if you can connect to impala hue version because you dont know the DB host, port info.
When I trying connect to my postgres database, I always receiving connection time out error. For instance I want to connect from pqadmin. Can you please help with it ?
PostgreSQL databases on PythonAnywhere are protected by a firewall, so external computers can't access them directly -- you need to use a thing called an SSH tunnel, which opens a secure SSH connection to PythonAnywhere, then sends the Postgres stuff over it.
This help page on the PythonAnywhere site has the details on how to set that up.
I'm trying to connect to postgresql database that locate in my home using pgAdmin or Qgis, but in company, where I work, admin create proxy-server http(s)//company.proxy.com:8080
How can I connect to database?
Also, there is redmine on that server and when I connect to it using google chrome with settings-network-change proxy setting - it work fine...