Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Cannot run the script in node-alpine docker image #268

Open
tannontawat opened this issue May 25, 2022 · 1 comment
Open

Cannot run the script in node-alpine docker image #268

tannontawat opened this issue May 25, 2022 · 1 comment

Comments

@tannontawat
Copy link

tannontawat commented May 25, 2022

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.

How to fix it??

@matthew-shtyasek
Copy link

Have you found a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants