dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 192 forks source link

Login failed for user 'sa' #455

Closed sandeepapps87 closed 4 years ago

sandeepapps87 commented 4 years ago

Not able to connect to docker sql server express container thru mssql-cli on mac system using this command to login mssql-cli -S localhost -U sa -d master -P password

but everytime it is throwing the same error Login failed for user 'sa' any input will be highly appreciated

ellbosch commented 4 years ago

Sounds like the password is incorrect 🙂 maybe try surrounding the password in quotes?

ellbosch commented 4 years ago

Closing this but please reach out if you're still running into problems.