The driver could not establish a secure connection to SQL Server by using SSL

后端 未结 3 1040
天涯浪人
天涯浪人 2021-01-11 10:50

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         


        
3条回答
  •  误落风尘
    2021-01-11 11:40

    Your problem is similar to https://youtrack.jetbrains.com/issue/IDEA-163324

    The solution is:

    • open terminal
    • run scutil --getHostName
    • if hostname is not set or contains .local, run sudo scutil --set HostName ""

提交回复
热议问题