Lando version: v3.21.2
Lando mssql plugin version: 1.2.0
I'd open a PR for these updates, but I'm not 100% sure what the best way to address the first one is, so I figured I'd start with an issue.
Recent updates to MSSQL have changed the path of the sqlcmd bin. Instead of being available at /opt/mssql-tools/bin, it's now available at /opt/mssql-tools18/bin. I'm unsure if it makes sense to just replace that path in the service's path config or include both for backward compatibility.
They also recently added a new option to sqlcmd for setting the encryption mode. It's set to mandatory by default, which throws an error because of the use of a self-signed cert.
Here's a reduced test case which illustrates the first issue:
name: mssql-test
services:
myservice:
type: mssql
This one fixes the first issue via an override of the path config data and shows the second:
Lando version: v3.21.2 Lando mssql plugin version: 1.2.0
I'd open a PR for these updates, but I'm not 100% sure what the best way to address the first one is, so I figured I'd start with an issue.
sqlcmd
bin. Instead of being available at/opt/mssql-tools/bin
, it's now available at/opt/mssql-tools18/bin
. I'm unsure if it makes sense to just replace that path in the service'spath
config or include both for backward compatibility.sqlcmd
for setting the encryption mode. It's set to mandatory by default, which throws an error because of the use of a self-signed cert.Here's a reduced test case which illustrates the first issue:
This one fixes the first issue via an override of the
path
config data and shows the second:And this one addresses both issues: