Skip to content

bun is not connected with ms sql server using windows authentication on windows #1723

@hmabdullah7770

Description

@hmabdullah7770

I am trying to connect Bun.js with Microsoft SQL Server using Windows Authentication.

I have tried multiple approaches but none of them work.

I first tried using npm i mssql, but I found in the documentation that tedious is the recommended driver for SQL Server, especially when running under Bun.js. However, I still cannot establish a connection.

I also tried using tedious directly, as well as using kysely (with the tedious dialect), but I am still unable to connect to Microsoft SQL Server using Windows Authentication.

My question is:

Is it currently possible to use Bun.js with Microsoft SQL Server using Windows Authentication on Windows, or is this not supported?

If it is supported, what is the correct configuration or approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions