I try to connect to SqlAnywhere 17 demoDB using a tool called DbSchema. The tool is using JDBC connection.
For this I started SQL Central, then I also did
dbsrv17.exe -x tcpip -n server1
to start the Tcp/IP service ( this is in the tool Help ).
Then I try to connect as DBA/sql but I get 'failed login'. I tried also creating an user in SQL Central and connect using it, but connectivity still fails. The connection is done like this:
final Properties properties = new Properties();
properties.put( "user","DBA");
properties.put( "password","sql");
driver.connect( "jdbc:sybase:Tds:localhost:2638/demo?LITERAL_PARAMS=true", properties );
The error is
java.sql.SQLException: JZ00L: Login fehlgeschlagen. �berpr�fen Sie SQLWarnings zu diesem Fehler, um die Ursache zu sehen.
translated
Login failed. Check SQLWarnings about this error to see the cause.
I don't know how to get the SQLWarnings.
Any suggestion on what should I check ?