how do i connect to MSSQL 2008 database in JAVA with jbbc

Posted by shuxer on Stack Overflow See other posts from Stack Overflow or by shuxer
Published on 2010-03-16T03:11:41Z Indexed on 2010/03/16 7:06 UTC
Read the original article Hit count: 264

Filed under:
|
|

Hello

I have MSSQL 2008 installed on my local PC, and my java application needs to connect to a mssql database. I am a new to MSSQL and i would like get some help on creating user login for my java application and getting connection via jdbc. So far i tried to create a user login for my app and used following connection string, but i doest work at all. Any help and hint will be appreciated.

jdbc:jtds:sqlserver://127.0.0.1:1433/dotcms 
username="shuxer"  password="itarator"

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about jdbc