Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DBeaver on OSX - null connection returned

I can't connect to a postgreSQL database with DBeaver on osx (latest) and get this cryptic null connection returned

I can however connect with teamSQL without a problem.

I checked a ton of resources but I have no idea of the cause of this problem so my connection infos are the right ones.

For information I have java installed :

java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
like image 410
Lakston Avatar asked Oct 24 '17 12:10

Lakston


2 Answers

I'll provide a proper answer in case anyone runs into the same problem :

I am on osx and my team mates are on windows, we provided the same credentials but they were able to log in and I wasn't.

The problems comes from DBeaver on osx that will not strip the http:// from the beginning of urls and will not accept .com/:1244 as a valid port but will accept those without a problem on windows.

The correct way to input a url would then be mywebsite.com:1244

Hope that helps.

like image 174
Lakston Avatar answered Sep 30 '22 15:09

Lakston


As with DBeaver v6.1.2 The issue is observed in windows as well, you need to manually strip off the "http:\" from the Host URL. Also mention the port explicitly in the Port text box.

like image 22
Pratyush Raizada Avatar answered Sep 30 '22 13:09

Pratyush Raizada