on 2020 Jul 29 8:11 AM
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 ?
Request clarification before answering.
A fix has been made to address "Driver not capable" errors reported accessing SQL Anywhere metadata information when supplying catalog information, i.e., the following JDBC call:
ResultSet tables = metaData.getTables( conn.getCatalog(), "GROUPO", "%", types );
The error will continue to be reported if the database name of the connection does not match the supplied catalog.
This has been addressed in Engineering Case #822551 in SQL Anywhere 17.0 Build 6194 and will be available in an upcoming patch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same issue in linux and mac. In windows connect normally 😞
Has anyone already solved this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for response.
New thread: https://sqlanywhere-forum.sap.com/questions/38477/exception-no-dbjdbc17-in-javalibrarypath-in-mac-an...
copy the dbjdbc17.dll found in your SQL Anywhere\\Bin64 directory into the same directory that you copied the sajdbc4.jar and try it again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
46 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.