Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password: Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Login failed for user 'sa'.. #15

Closed
khievatreides opened this issue Jan 13, 2017 · 2 comments

Comments

@khievatreides
Copy link

khievatreides commented Jan 13, 2017

i've start the instance by run the following command
docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=mystrongpassword' -p 1433:1433 -d microsoft/mssql-server-linux

but after several attempt to connect it keept throw error
Password: Sqlcmd: Error: Microsoft ODBC Driver 11 for SQL Server : Login failed for user 'sa'..

checked the log in kinematic

Error: 18456, Severity: 14, State: 7.
2017-01-13 14:09:30.60 Logon Login failed for user 'sa'. Reason: An error occurred while evaluating the password. [CLIENT: 192.168.99.1]

i try to connect using this command
sqlcmd -S 192.168.99.100 -U sa -P 'mystrongpassword'
any help?

@khievatreides
Copy link
Author

turn out the password not strong enough
after changed the SA password and restart the container i can login to the server.

@morontt
Copy link

morontt commented Apr 12, 2017

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants