java.sql.SQLException: Login failed for user 'sa'.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.sql.SQLException: Login failed for user 'sa'

    Database Administrators | 5 years ago
    java.sql.SQLException: Login failed for user 'sa'.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.sql.SQLException: Login failed for user 'sa'

    Database Administrators | 5 years ago | Mike
    java.sql.SQLException: Login failed for user 'sa'.
  4. 0

    Java connection to a SQL Server Database: Login failed for user 'sa'

    Stack Overflow | 4 years ago | Daniel Pop
    java.sql.SQLException: Login failed for user 'sa'.

  1. abrazeneb 1 times, last 8 months ago
  2. odd 8 times, last 5 days ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    Login failed for user 'sa'.

    at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic()
  2. jTDS
    Driver.connect
    1. net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
    2. net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820)
    3. net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258)
    4. net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:603)
    5. net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:345)
    6. net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
    7. net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184)
    7 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  4. Unknown
    testConnection.main
    1. DB.dbConnect(testConnection.java:17)
    2. testConnection.main(testConnection.java:7)
    2 frames