Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mssql login fail ECONNREFUSED 127.0.0.1:1433

while trying to log in using this .. mssql -u sa -p mypassword .i get this error, Error: Failed to connect to localhost:1433 - connect ECONNREFUSED 127.0.0.1:1433 I have installed sql server on docker using this https://www.microsoft.com/en-us/sql-server/developer-get-started/java-mac tutorial and started it. I am using mac os sierra. I have searched all over internet including stackoverflow for this but gotten no answer. The only answer i get is to enable tcp/ip using sql configuration manager, but mac os doesn't have a configuration manager so I can enable the tcp/ip. Kindly assist.

like image 354
rosteve Avatar asked Nov 22 '16 06:11

rosteve


1 Answers

I finally found the solution .. the docker set the memory as 2GB while the MS SQL server requires 3.25GB... All i had to do was go to the Docker preferences and changed the memory to 4GB and it works :). I was using sql server on docker on Mac.

like image 105
rosteve Avatar answered Sep 23 '22 09:09

rosteve