在我们的测试环境中,我们使用了天桥。现在我们也想在我们的生产系统中使用它。
在这个系统上,我们强制使用SQL Server加密,这样就无法与我们的数据库进行通信。
我得到以下错误:
D:\ Flyway - 6.2.0 >天桥信息数据库密码:Flyway Community 6.2.0 by Redgate错误:无法从数据库获得连接(jdbc:jtds:sqlserver://localhost:Port;databaseName=myDatabase;integratedSecurity=true;) for user‘*): I/O错误: DB服务器关闭连接。 SQL状态: 08S01 错误代码:0 消息: I/O错误: DB服务器关闭连接。
有人知道这个问题并能帮我吗?
发布于 2020-04-22 04:50:10
Flyway开始支持Flyway 6.2.4 (发布说明)中的“integratedSecurity=true”jdbc参数,因此如果升级到该版本或更高版本,它应该可以工作。它还要求sqljdbc_auth.dll在类路径上可用。
从https://flywaydb.org/documentation/database/sqlserver#authentication采取的必要步骤。
Windows身份验证和Azure Active需要安装额外的驱动程序:
https://stackoverflow.com/questions/61268611
复制