Skip to content

Authentication failed for user - Login and user are not the same #164

@Viroxken

Description

@Viroxken

I'm not able to connect (SQL authentication) to a sql server database in which the login suser_sname() and the database user user_name() is not the same. In my case the login is mapped to dbo user.

Error:
_duckdb.InvalidInputException: Invalid Input Error: MSSQL connection validation failed: Authentication failed for user 'xxx' - check username and password

I'm able to connect to another database in the same sql server instance. In that case login and user are the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions