Connecting SQL Anywhere with Sybase database file on local computer

sybase-sql-anywhere

I have installed SQL Anywhere 12 in my system.

I have a .db file in my computer. I have no idea what is it's username and password.

If I try to connect to it by providing credentials- username=DBA and password=sql
I'm getting below error-

enter image description here

How can I connect to it successfully?

Best Answer

Here is a way to reset the password using the free SQL Anywhere 17 Developer edition. The paid edition should work also.

"C:\Program Files\SQL Anywhere 17\bin64\dbsrv17.exe"  dbsrv17 -orp "UID=DBA;NEWPWD=newpassword;AUTHUID=reset_user;AUTHPWD=sql456" C:\database.file.db