0

I try to connect to Redshift Using JetBrain DataGrip, after I fill in the datasource information (host, db, username, password etc) and try Test Connection I saw that there is a background task spawn up and prompts "Connecting to database..." and stuck there forever.

I'm able to connect with SQL WorkbenchJ with same datasource information.

Has anyone encounter this issue?

Ning Lin
  • 51
  • 1
  • 5

1 Answers1

0

It turns out I have this line in my host file:

127.0.0.1   myhostname.xxx.xxxxxx.com

I change it to:

127.0.0.1   localhost

It's working now.

Ning Lin
  • 51
  • 1
  • 5