Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

RE: ant sql doesn't recognize the database server name with back slash?

Anderson, Rob (Global Trade)

2008-04-01

Replies:

Author LoginPost Reply
Try a forward slash...

10.23.23.2/sql5t9

-Rob Anderson


-----Original Message-----
From: Chaohua Wang [mailto:cwang@(protected)]
Sent: Tuesday, March 25, 2008 8:26 AM
To: Ant Users List; floess@(protected)
Subject: ant sql doesn't recognize the database server name with back
slash?

Hi Folks,

I am using jdbc driver to connect database. I have 2 database. The url
is like this 10.23.23.1, another one is 10.23.23.2\sql5t9.
I am using jtds drvie to connect: jdbc:jtds:sqlserver://10.23.23.1 it
works fine.
But for 10.23.23.2\sql5t9, is not working. message shows:
java.sql.SQLException: Unknown server host name '10.23.23.2\sql5t9'.
Could you tell what is reason why? Thank you

cwang

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.