I\'m having problems connecting to SQL databases. Whenever I try to connect to a SQL server I get the following error;
Caused by: org.hibernate.exception.JDB
Your problem is similar to https://youtrack.jetbrains.com/issue/IDEA-163324
The solution is:
scutil --getHostName
sudo scutil --set HostName ""