This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
Connecting to mssql instances by instance name #264
Labels
enhancement
new feature or bug with easy workaround
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
The text was updated successfully, but these errors were encountered: