Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to connect - "Error: Code: -103 Msg: Invalid user ID or password" #40

Open
joe-gibbs opened this issue Feb 5, 2021 · 1 comment

Comments

@joe-gibbs
Copy link

Node: Node.js 10.23.2 (ia32)
System: Windows 10 Pro 64-bit
SQL Anywhere: 17.0.10.5963 32-bit

With the following connection code

const connParams = {
        UserId: "dba",
        Password: "sql",
        dsn: "abc"
}

conn.connect(
    connParams,
    (error: any) => {
        console.log(error);
    }
);

I get this error: [Error: Code: -103 Msg: Invalid user ID or password].

However, when I run dbisql -c "userid=dba;password=sql;dsn=abc", it works perfectly, no issues.

I've tried the following:

  • Switching to 32-bit Node from 64-bit and vice versa
  • Using "userid=dba;password=sql;dsn=abc" directly instead of the params object
  • Running as an administrator or as a regular user
@DanCummins-SAP
Copy link
Contributor

Hi Joe,
I opened issue number 266170 and we plan to look into it.
https://sqlanywhere-forum.sap.com/ also hosts an active SQLA community.
Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants