阅读背景:

MSSQL JDBC驱动程序在第一次连接时不会连接到镜像failoverPartner

来源:互联网 

I'm using C3P0 and the MS SQL JDBC 4 driver to automatically failover to a new database mirror when the database goes away. If it first connects to the principal DB, then the failover works and it switches seamlessly to the mirror DB. However, if the principal DB is down when the application starts, and the mirror DB is available to connect (tested with MSSQL Studio), then the application fails to start and fails to connect to the backup mirror. I'm using C3P0 and the MS SQL JDBC 4 driver to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: