Skip to content
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Connecting to mssql instances by instance name #264

Description

@andresteyn

Apologies if this has been addressed elsewhere, but I have searched extensively. How do I connect to a mssql instance such as localhost\sqlexpress?

I have tried all of the following:
npx typeorm-model-generator -h localhost -d sqlexpress\dbname -u sa -x my_password -e mssql -o .
npx typeorm-model-generator -h localhost\sqlexpress -d dbname -u sa -x my_password -e mssql -o .
npx typeorm-model-generator -h localhost/sqlexpress -d dbname -u sa -x my_password -e mssql -o .
npx typeorm-model-generator -h localhost\\sqlexpress -d dbname -u sa -x my_password -e mssql -o .
npx typeorm-model-generator -h sqlexpress -d dbname -u sa -x my_password -e mssql -o . -s sqlexpress

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementnew feature or bug with easy workaround

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions