Using Microsoft JDBC to connect to the Mirth database

vendredi 31 octobre 2014

Hi all,



We've got Mirth Connect connection to an SQL 2014 server - no problems there. We now want to put the database into AlwaysOn High Availability, but its seems that jTDS doesn't support it; however, MS JDBC does.



I can't figure out how to get the service started using a MS JDBS connection string. Its currently set as:



jdbc:http://sqlserver<servername>:1433;instanceName=<sintancename>;data baseName=<databasename>;multiSubnetFailover=true;u ser=<username>;password=<password>;



but I get this in the logs:



The TCP/IP connection to the host <servername>, port 1433 has failed. Error: "Connection refused: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall."



Everything's fine if I use jTDS to the mode rather than the Availability Group, so its not at the database end (well, I don't think it is!).



Also, I'd rather use Integrated Security, but when I set that, I get the same response.



Can anyone shed any light?



Thanks,

Paul





Using Microsoft JDBC to connect to the Mirth database

0 commentaires:

Enregistrer un commentaire