I have a docker image that runs with node-alpine and I installed python3.9, mssql-scripter, msodbcsql17_17.8.1.1-1_amd64.apk, and mssql-tools_17.8.1.1-1_amd64.apk.,
And I tried to run the script on container's shell like this
mssql-scripter -S xxx.xxx.xx.xx -U xx -P xxxx -d dev-xxxx --schema-and-data --script-drop-create --exclude-objects dbo.xxxxx dbo.aaaa dbo.bbbb dbo.cccc > 1653469182687_-test-command-1.sql
So, it returns like this local variable 'sql_tools_client' referenced before assignment.
I have a docker image that runs with node-alpine and I installed
python3.9
,mssql-scripter
,msodbcsql17_17.8.1.1-1_amd64.apk
, andmssql-tools_17.8.1.1-1_amd64.apk
.,And I tried to run the script on container's shell like this
mssql-scripter -S xxx.xxx.xx.xx -U xx -P xxxx -d dev-xxxx --schema-and-data --script-drop-create --exclude-objects dbo.xxxxx dbo.aaaa dbo.bbbb dbo.cccc > 1653469182687_-test-command-1.sql
So, it returns like this
local variable 'sql_tools_client' referenced before assignment
.How to fix it??