Comments (12)
Im using this password "reallyStrongPwd1239821Anbasjjh832Kaskhsd" and Im getting same issue
MacBook-Air-de-Joel:~ joelgarcia$ mssql -s localhost -u sa -p reallyStrongPwd1239821Anbasjjh832Kaskhsd Connecting to localhost... Error: Login failed for user 'sa'.
from mssql-docker.
@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.
from mssql-docker.
@thearabbit Also, you shouldnt need to pass the -o parameter to the mssql command if you are using the default port, 1433.
from mssql-docker.
Look great, I work fine.
Very thank.
from mssql-docker.
Hi Guys ,
I am still having the issue please can someone help me on this .
vvvvvv-MBP:~ xxx$ mssql -s localhost -u sa -p PWSD@Test123
Connecting to localhost...
Error: Login failed for user 'sa'.
vvvvvv-MBP:~ xxx$
from mssql-docker.
Are you using -v in your docker run command?
from mssql-docker.
Thanks Guys.. @twright-msft pointed to the right , password issue.. @rameshrohan Test123 is not a complex password..
from mssql-docker.
@thearabbit Also, you shouldnt need to pass the -o parameter to the mssql command if you are using the default port, 1433.
Hi,
the docker connected well..it runs. but when i try to run the sql operations studio it gives me the 'Login failed for user ....' What am i doing wrong..been trying everything...nothing
from mssql-docker.
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'.
from mssql-docker.
still getting same error, after having tried multiple times.If anyone could identify whats wrong from my terminal below🥲
mac@Ghosts-MacBook-Pro ~ % docker images REPOSITORY TAG IMAGE ID CREATED SIZE mcr.microsoft.com/mssql/server 2019-latest 9ab26f8e5685 5 weeks ago 1.61GB mac@Ghosts-MacBook-Pro ~ % docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES mac@Ghosts-MacBook-Pro ~ % sudo npm install -g sql-cli Password: npm WARN config global
--global,
--localare deprecated. Use
--location=global` instead.
npm WARN deprecated [email protected]: The sprintf package is deprecated in favor of sprintf-js.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
changed 48 packages, and audited 49 packages in 6s
1 package is looking for funding
run npm fund
for details
found 0 vulnerabilities
mac@Ghosts-MacBook-Pro ~ % docker run --name GHOST -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=1Unitedrange22’ -e 'MSSQL_PID=Developer’ -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest
5db465b250a8da5e47db009efa694dec025dd30cd0641fd5df84eb062774c424
mac@Ghosts-MacBook-Pro ~ % mssql -u sa -p 1Unitedrange2022
Connecting to localhost...
Error: Login failed for user 'sa'.`
from mssql-docker.
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
from mssql-docker.
that working very good @Pwd451EatonStrong
from mssql-docker.
Related Issues (20)
- Issue with AD on mssql-docker linux > CU9 (Ubuntu 22.04 vs 20.04) HOT 3
- Daylight savings time - wrong time with 2017-latest HOT 1
- LDF files are not moved to MSSQL_LOG_DIR
- Restore command is hanging after logged as success HOT 2
- AD authentication not working (kubernetes) HOT 6
- Version based on RHEL 9.1 fails to start
- SQL Server 2022 in docker, accepts TDS 7 connection but closes the TDS 8.0 connection with Error: 17821 - A valid TLS certificate is not configured to accept strict (TDS 8.0 and above) connections. HOT 2
- The SA_PASSWORD environment variable is deprecated
- SIGABRT - Aborted (6) - Ubuntu 24.04 host and sqlserver preview 2022/ ubuntu 20.04 HOT 4
- Receiving "Non-yielding Scheduler " errors when running with Rosetta emulation, MSSQL-2022:latest, MacOS Sonoma 14.5, M3 HOT 11
- Missing dependency when installing mssql-server
- SQL Server Container fails to start on MacOS every other time. HOT 1
- Document key differences between tags
- Mounting volumes no longer possible
- Docker ARM for windows: Can't run linux/amd64 on linux/arm64/v8 HOT 3
- Degraded Performance for Long-Lived Containers HOT 1
- Container keeps crashing with "Stack Overflow" HOT 1
- Broken example file configure-db.sh (with fix) HOT 1
- Latest Docker image missing /opt/mssql-tools directory HOT 27
- azure-sql-edge docker images fail on kernel 6.7+ HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mssql-docker.