Replies: 1 comment 3 replies
-
Probabilmente dovresti usare il comando Socket nomecontainer logs Per vedere i log del container SQL, probabilmente ha avuto qualche problema in avvio. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ciao,
ho letto il tuo articolo sulla connessione al Docker di MSSQL sotto ubuntu per il .NET ma non riesco a connettermi...
l'errore che mi viene fuori se provo a connettermi con la connection string dentro al mio progetto .NET è sempre questo:
Error Message:
System.Data.SqlClient.SqlException : A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - Success)
viene sempre sul connection.Open()
la connection string è: Server=localhost,5000;Database=Master;User ID=SA;Password=sqlPw3$secure;Integrated Security=False
ma anche se tolgo l'integration security è lo stesso.
Hai qualche suggerimento? Il progetto è in .NET 5.0, la macchina container è ubuntu-latest e l'mssql è il 2017-latest-unbuntu
Grazie!
il progetto è qui https://github.com/Simpz78/PingDockerTest
Ciao!
Beta Was this translation helpful? Give feedback.
All reactions