idea连接sql sever失败

img


连接数据库失败怎么解决,
指定的数据库用户/密码组合被拒: [08S01] 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”。 ClientConnectionId:4f7590d9-18a1-43cf-a3d3-fe545d93880f sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

把jdk和jdbc换成jdk16可以连接

用户名和密码正确吗

SSL证书错误,看看这个

连接数据库的配置文件呢