Re: Network error IOException: Connection Refused: connect in MS SQL Server 2008
Posted by: Michael Wicki
Date: June 20, 2009 04:51AM

If you use SQL Server 2008 Express Edition try following connection String:

jdbc:jtds:sqlserver://localhost:1433;instance=SQLEXPRESS;databaseName=DB_NAME;user=sa;password=sa_Password;charset=utf-8;domain=

The TCP/IP Clientprotocoll have to be activated.

Kind Regards, Michal Wicki

Wenn man die SQL Server 2008 Express Edition verwendet, versuchen sie folgenden Verbindungsbefehl:

jdbc:jtds:sqlserver://localhost:1433;instance=SQLEXPRESS;databaseName=DB_NAME;user=sa;password=sa_Password;charset=utf-8;domain=

Natürlich muss auch das TCP/IP Protokoll am Server aktiv sein.

Freundliche Grüsse
Michael Wicki

Options: ReplyQuote


Subject
Written By
Posted
Re: Network error IOException: Connection Refused: connect in MS SQL Server 2008
June 20, 2009 04:51AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.