henplus icon indicating copy to clipboard operation
henplus copied to clipboard

Connection url does not accept ";" (needed for MS SQL Server to specify the instance)

Open magro opened this issue 12 years ago • 0 comments

When trying to connect to a sql server (specifying the instance) with a url like jdbc:jtds:sqlserver://localhost/somedb;instance=someinst everything following the semicolon is stripped off, and henplus reports a java.lang.InternalError:

Hen*Plus> connect jdbc:jtds:sqlserver://localhost/somedb;instance=someinst
HenPlus II connecting 
 url 'jdbc:jtds:sqlserver://localhost/somedb'
 driver version 1.3
java.lang.InternalError

This happens with henplus 0.9.8

For those also running into this: as a workaround the connection can be added to ~/.henplus/connections with an alias (e.g. as jdbc:jtds:sqlserver://localhost/somedb;user=someUser;password=secret;instance=someInst somedb). After starting henplus it's possible to connect somedb.

magro avatar Aug 29 '13 13:08 magro