Article View: borland.public.jbuilder.database
Article #432JDBC connection issues
From: Amunike
Date: Fri, 09 Dec 2005 21:25
Date: Fri, 09 Dec 2005 21:25
34 lines
1696 bytes
1696 bytes
Hi everybody
I'm tring to make a database connection through the designer but the connexion keeps failing
I have added the 3 jar files to the classpath using "project"-->"project properties"-->
"required librairies" --->ADD and then choosing "archives".
I'm using sql server 2000 on windows xp
here the setting that I provide to the connection wizard
driver:
com.microsoft.jdbc.sqlserver.SQLServerDriver
*** I'm not sure of this setting. I found it on the internet
url
jdbc:microsoft:sqlserver:localhost:1433/C:\Program Files\Microsoft SQL Server\MSSQL\Data\synapcoDB_data.mdf
**** I'm not sure of this part: "jdbc:microsoft:sqlserver:" found it on the net
user
*** this correct because I created a new user for the database
password
**** this also is correct
Thanks for any information
Technical Details
Message-ID:
<439a0476$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1073da,26e4a47202141a45,start X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Amunike" <ndsoumah@gmail.com> Sender: "Amunike" <ndsoumah@gmail.com> Reply-To: "Amunike" <ndsoumah@gmail.com> Subject: JDBC connection issues Newsgroups: borland.public.jbuilder.database X-User-Info: 69.157.183.86 NNTP-Posting-Host: 207.105.83.66 Message-ID: <439a0476$1@newsgroups.borland.com> Date: 9 Dec 2005 14:25:58 -0700 X-Trace: newsgroups.borland.com 1134167158 207.105.83.66 (9 Dec 2005 14:25:58 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail