hi,
I using ODBC to connect sybase database (ASE). When login to database with invalid password SQLCA.SQLCode = 0 which mean valid password. UID and PWD is setup in DBParm connectString.
hi,
I using ODBC to connect sybase database (ASE). When login to database with invalid password SQLCA.SQLCode = 0 which mean valid password. UID and PWD is setup in DBParm connectString.
One workaround:
Put a small block of code after your connection attempt. This should be a simple retrieve from a small table:
SELECT count(*) INTO :ll_count FROM small_table;
Now check the sqlca.sqlCode value.
Hi Chen,
We further analyzed it on our side and found that it is not a bug.
In PowerServer 2021 Beta, if you configure the SQLCA corresponding Cache in the Database Configuration in the Web APIs tab in PowerServer Project, the connection info SQLCA used will come from the corresponding Cache connection info in Connection-Cache.json.
Any problems please let us know.
Regards,
David
Okay,
I've also been testing on 2021 beta (with Oracle DB) and just tried to reproduce the problem:
Indeed, I've changed my password to 'potato' (which is not a valid password) and I don't get any error message from the CONNECT; sqlca.sqlcode = 0 so that's bad.
In my opinion, this is a bug!
I have create a support ticket for you: https://www.appeon.com/standardsupport/track/view?id=6407
Hi,
Please explain a little bit more. What is your question?
regards