-
Notifications
You must be signed in to change notification settings - Fork 757
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
Login failed for user 'sa' on Mac #22
Comments
@thearabbit '123456' may not be a sufficiently complex password. Please stop/remove your current container and try running a new container using a more complex password. |
@thearabbit Also, you shouldnt need to pass the -o parameter to the mssql command if you are using the default port, 1433. |
Look great, I work fine. |
Hi Guys , vvvvvv-MBP:~ xxx$ mssql -s localhost -u sa -p PWSD@Test123 |
Are you using -v in your docker run command? |
Thanks Guys.. @twright-msft pointed to the right , password issue.. @rameshrohan Test123 is not a complex password.. |
Im using this password "reallyStrongPwd1239821Anbasjjh832Kaskhsd" and Im getting same issue
|
Hi, |
Ran the container using following command: docker run -d --name MSSQLLOCALCOMMUNITY -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyStrongPassword@123' -p 1433:1433 microsoft/mssql-server-linux But when i try to connect to db it yields: Error: Login failed for user 'MSSQLLOCALCOMMUNITY'. |
still getting same error, after having tried multiple times.If anyone could identify whats wrong from my terminal below🥲
changed 48 packages, and audited 49 packages in 6s 1 package is looking for funding found 0 vulnerabilities |
All the logic is in the password, that's why it doesn't log in, it lasted 3 days and I was never able to log in until the day I found these notes, which was the key. exactly was key. It must be very complex and long. mine was the following to be able to practice the change later @Pwd451EatonStrong |
that working very good @Pwd451EatonStrong |
I bas on
Mac
.1- Run
docker run --name mssql-container -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=123456' -p 1433:1433 -d microsoft/mssql-server-linux
.It show
2- And then I stop and start again, I work
3- Connect with
Please help me.
The text was updated successfully, but these errors were encountered: