我刚刚为此写了一篇博客文章。看看richminchuk.io。除此以外:
sudo docker pull microsoft/mssql-server-linux:2017-latestdocker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=YourSTRONG!Passw0rd' -p 1401:1433 -n sql1 -d microsoft/mssql-server-linux:2017-latest
然后,
private static string _connStr = @" Server=127.0.0.1,1401; Database=Master; User Id=SA; Password=YourSTRONG!Passw0rd";
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)