Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

Solutions on the web

via Apache's JIRA Issue Tracker by David Robson, 1 year ago
java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Server name cannot be determined. It must appear as the first segment of the server's dns name (servername.database.windows.net). Some libraries do not send the server
via Stack Overflow by sreekanth
, 2 years ago
java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'EOD'
via Stack Overflow by user3752045
, 8 months ago
java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'sample'
via cloudera.com by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
via cloudera.com by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Access denied for user 'root'@'192.168.70.5' (using password: YES)
via csdn.net by Unknown author, 1 year ago
java.lang.RuntimeException: java.sql.SQLException: Access denied for user 'test'@'192.168.0.2' (using password: YES)
com.microsoft.sqlserver.jdbc.SQLServerException: Server name cannot be determined.  It must appear as the first segment of the server's dns name (servername.database.windows.net).  Some libraries do not send the server name, in which case the server name must be included as part of the user name (username@servername).  In addition, if both formats are used, the server names must match.	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:197)	at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:246)	at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:83)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:2529)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:1905)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(SQLServerConnection.java:41)	at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:1893)	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1045)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:817)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:700)	at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:842)	at java.sql.DriverManager.getConnection(DriverManager.java:582)	at java.sql.DriverManager.getConnection(DriverManager.java:207)	at org.apache.sqoop.mapreduce.db.DBConfiguration.getConnection(DBConfiguration.java:181)	at org.apache.sqoop.mapreduce.db.DBInputFormat.getConnection(DBInputFormat.java:187)	at org.apache.sqoop.mapreduce.db.DBInputFormat.setConf(DBInputFormat.java:162)	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:70)	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130)	at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1011)	at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1031)	at org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:172)	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:943)	at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:896)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:396)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)	at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:896)	at org.apache.hadoop.mapreduce.Job.submit(Job.java:531)	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:561)	at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:141)	at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:202)	at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:465)	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:403)	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:476)	at org.apache.sqoop.Sqoop.run(Sqoop.java:145)	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)	at org.apache.sqoop.Sqoop.main(Sqoop.java:238)	at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)