Connecting to a Microsoft SQL 2008 database [message #774156] |
Tue, 03 January 2012 06:31  |
Eclipse User |
|
|
|
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 08:42  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06916 seconds