Connecting Jitterbit to Heroku Postgre - database

I'm trying to connect to Heroku Postgre using Jitterbit Cloud Data Loader.
got my connection parameters all setup but unfortunately I run into an error FATAL: no pg_hba.conf entry for host "210.213.78.5", user "u49bh1311s0496", database "dfsj8qbgvj0ram", SSL off
Would like to ask for possible solution with this.
Thank you for your help.

Whenever I connect remotely to a Heroku Postgresql database, I need to have SSL on.
You'd typically connect using the heroku domain name instead of an IP as well.

Try this as your connection string:
jdbc:postgresql://210.213.78.5:5432/dfsj8qbgvj0ram?ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory
with your username and password.

Related

Cannot connect to SAP HANA Express DB using eclipse studio

I am new to SAP HANA database. I have successfully hosted the SAP HANA express database on cloud server. I have created a database and I am able to query it for the CLI.
However I have trouble connecting it from eclipse have spent two days on the same.
I am following https://developers.sap.com/india/tutorials/hxe-howto-eclipse.html tutorial.
Please Note :
I am able to connect to server using RDP and putty so the IP address is correct
I have started the database using command:
hdbsql -i 90 -d HXE -u SYSTEM -p SAPhxe123
why is eclipse taking port 39015 by default in last screenshot? is this the issue or can we change this.
Any help here would be much appreciated!
Remove the port and just keep HXE for the tenant.
39015 is the right one for the first tenant in an AWS or Azure VM (39017 is for Docker).
Try connecting to the system database first. If that works but the tenant doesn't, check this: https://developers.sap.com/tutorials/hxe-gcp-eclipse-tenant-connect.html
If that doesn't work: https://blogs.sap.com/2018/02/24/troubleshooting-connection-problems-for-hana-express/
Unless you explicitly closed port 22, ping should respond.
Also a reminder that HANA studio is part of a set of deprecated tools so if you are looking to learn native development, I would recommend going for XS advanced.
Could you please refer to following document: https://developers.sap.com/tutorials/mlb-hxe-tools-sql-eclipse.html
There the tenant database connection is created as follows
The host server (IP) is maintained in hosts file
Additionally the tenant db is only provided as HXE without port number
If you running the HANA server as a container.
Go in to the container "docker exec -it bash
HDB info
What is the port that you can connect to (If the Port is 39041 for example)
Rerun your container mapping your docker run command with -p:. That is (-p 3901:39015).
Essentially what is broken is that the port Eclipse HANA studio is trying to connect to is not mapped to the HANA port that is listening on.
You have to map the PORT that HANA is listening to Host PORT 39015.
If this is a cloud env you have to do the appropriate port forwarding.
Tested this and it works now.
For tenant database, I think it is enough to use HXE
Did you try to change the host name by adding the port information after IP address?
When your HXE instance was created on AWS, did you assigned it the default security group or did create one based on "Seller settings"?
This is really important because without this custom security group you won't be able to access your instance from the outside world.
Please refer to the following tutorial for more details: https://developers.sap.com/canada/tutorials/hxe-aws-setup.html

Connection to Postgresql database failing

I'm trying to connect to my localhost Postgresql database and I'm getting an error:
Connection to database... failed
No other message provided.
I'm using using pgAdmin3 connecting to Postgresql 10.1
I've been connecting to this database using the same user (and password) and another user via my app successfully all the while but it just failed to connect to the database now. No users seems to be able to connect to the database
Edit: after further checks I noticed Postgresql is not listening on the port 5432.
I've checked the postgresql.conf file and it looks fine
listen_addresses = '*', port = 5432
I'm kind of new to Postgresql. Sorry if it's something obvious I'm missing out. Still looking for how to start postgresql or make it listen on the port.

How to test Artifactory DB connection

I have set Jfrog Artifactory to connect to a SQL server DB.
Now, i want to test this connection to see if it works.
How can i test this connection?
Thanks
Start Artifactory and see that it connect to it. What other test do you want to do? Another option will be to download app as DBvisualizer and connect it using the same url and port + user and password as you configured in Artifactory

Is possible to manage an OpenShift Database with pgAdmin?

Today I want to know if it is possible to manage a PostgreSQL on OpenShift using pgAdmin, in the same way that we can manage an Amazon RDS database?
Use port forwarding on your local machine to establish a connection to your remote server:
rhc port-forward -a applicationName
Now check the output on your command line to which port the postgres database service is mapped, if available this will be 5432 by default.
A step by step documentation about port forwarding is available at Getting Started with Port Forwarding on OpenShift.
Another way would be to configure the ssh-tunnel into your connection.
Tunnel-Host would be your applications name
Username the beginning string, when ssh'ing to that connection: XXX#application-name
Identity file would be id_rsa in .ssh fodler in your home directory
password your openshift password

Trouble connecting to Heroku DB with pgAdmin III client

I'm running into trouble connecting to a heroku database with pgAdmin3. I've filled out the Add Server options in pgAdmin3 as described in this question / answer. The error I receive is FATAL: password authentication failed for user "hliegpkjabvrpe". I can connect to the database with heroku pg:psql. When I look at the heroku logs -t, I don't see any trace of the failed login.
From the message it looks like pgAdmin3 is reaching the server, but denied. I've checked and double checked the password. I'm copying it directly from the heroku page showing the connection parameters.
Is there a place where I can get a more detailed description of why the authentication failed? Am I missing something obvious here?
I'm running pgAdmin3, version1.18 on windows 8. I have the heroku db name in the maintainance db slot, as described in the question / answer above. And I have ssl turned on. What am I missing?
Any help would be MOST appreciated!
In case you did't, you need to select "require" for SSL under SSL tab.
Try the credentials given by: heroku pg:credentials DATABASE

Resources