Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Connecting to a Microsoft SQL 2008 database
Connecting to a Microsoft SQL 2008 database [message #774156] Tue, 03 January 2012 11:31 Go to next message
Joris Meeus is currently offline Joris Meeus
Messages: 1
Registered: January 2012
Junior Member
Hi,

Im working on a project for school in which we need to implement a database.

I connect with the following details using microsoft sql management studio 2008

servername: studev.groept.be\groept
username: xxxxxx
password: xxxxxx

then i can choose my database in the object explorer called "a11_SD202"

In eclipse i implemented the JDBC driver and used the following connection url.
String connectionUrl = "jdbc:sqlserver://studev.groept.be\\groept:1433;databaseName=a11_SD202;user=xxxxxx;password=xxxxxx;";

But when i run my code, i always get the message that login fails...

Anyone who can help me out ?

regards,

Joris
Re: Connecting to a Microsoft SQL 2008 database [message #774201 is a reply to message #774156] Tue, 03 January 2012 13:42 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3189
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.01.03 4:31, Joris Meeus wrote:
> Hi,
> Im working on a project for school in which we need to implement a
> database.
>
> I connect with the following details using microsoft sql management
> studio 2008
>
> servername: studev.groept.be\groept
> username: xxxxxx
> password: xxxxxx
>
> then i can choose my database in the object explorer called "a11_SD202"
>
> In eclipse i implemented the JDBC driver and used the following
> connection url.
> String connectionUrl =
> "jdbc:sqlserver://studev.groept.be\\groept:1433;databaseName=a11_SD202;user=xxxxxx;password=xxxxxx;";
>
>
> But when i run my code, i always get the message that login fails...
>
> Anyone who can help me out ?
> regards,
> Joris

I haven't worked with MS SQL much, but I have an article that might be
helpful (while you're waiting for a better answer). You could also try
the Eclipse data tools forum which is more what you're after here. In
the meantime,

http://www.javahotchocolate.com/tutorials/jdbc.html
Previous Topic:Customizing SVN-Info in Explorer Sidebar?
Next Topic:Problem in publishing project to weblogic 10.3.5
Goto Forum:
  


Current Time: Tue Sep 16 07:29:11 GMT 2014

Powered by FUDForum. Page generated in 0.01849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software