Search code examples
androidsybase

Android/JDBC:JTDS and Sybase


We are trying to use JTDS with Sybase and Android. We are using the "SQL Anywhere" formerly Sybase Anywhere (we think???), and it seems as if we are talking to Sybase (Sybase 9), because the exception is "Login Failure" and we are using a connection string such as:

String conn_str = "jdbc:jtds:sybase://192.168.1.100:2638/dbname";

Then calling:

conn = DriverManager.getConnection(conn_str, "user", "passwd");

We keep getting the login failure with a known good user and passwd.

It is very difficult to find any information on Android talking to Sybase or any example connections within SourceForge.

How can we fix this problem?


Solution

  • Morrison Chang had the right answer as it turned out here!

    SQL Anywhere version 9 dates back to 2003 and end of life in 2010. If the Sybase database logs don't provide any info, the age of that software explains why you won't find anything on the Internet.