0

When I make a connection from netbeans to DB in SQL i select services -> databases -> drivers -> Microsoft Sql server 2005 then connect using.

Cannot establish a connection to jdbc:sqlserver://localhost:1433;databaseName=GP using com.microsoft.sqlserver.jdbc.SQLServerDriver (Login failed for user 'moataz'.)
Draken
  • 3,134
  • 13
  • 34
  • 54
moataz
  • 46
  • 8
  • Connect using what? – M. Suurland Apr 19 '17 at 10:36
  • 1
    You need to provide details like from where you are trying to connect, the error that you are facing and stacktrace - the details provided now will not allow anyone to answer your question! – N00b Pr0grammer Apr 19 '17 at 10:57
  • (Login failed for user 'moataz'.) ---> Is this user registered in the database? Spelling for username and password is correct? Like @N00bPr0grammer already said. Give us more details. – Helvijs Apr 19 '17 at 11:23
  • the problem is solved and it was this user wasn't registered in the database ..thanks alot – moataz Apr 24 '17 at 01:53

0 Answers0