-
Hi, I have installed the extension together with Visual Studio Code Remote - Containers. Once configured, if I go to the terminal and execute:
It runs successfully. However when I hit on any DBT extension button like "Run dbt model" or "Compiled dbt preview" it raises a connection error:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
dbt debug won't connect to your database. so it doesn't prove your connection details are right. What happens if you run |
Beta Was this translation helpful? Give feedback.
-
Hi @mdesmet , I've tried to run a model and it is executed successfully. So, what is the difference between the terminal and what the extension runs? Thanks. |
Beta Was this translation helpful? Give feedback.
-
As I said, whenever I execute through the terminal everything runs fine. Even I've tried to run dbt-osmosis through the terminal and executed it successfully. Can anyone let me know where does the extension take the credentials from? Thanks |
Beta Was this translation helpful? Give feedback.
-
The fact that your terminal is working doesn't mean that vscode is correctly configured. It might be that you have selected another Python environments or that environment variables are not known by vscode itself or even configured differently the |
Beta Was this translation helpful? Give feedback.
-
At the end it seemed my issue was the same as: #97 |
Beta Was this translation helpful? Give feedback.
The fact that your terminal is working doesn't mean that vscode is correctly configured. It might be that you have selected another Python environments or that environment variables are not known by vscode itself or even configured differently
the
aaa
is definitely not coming from the extension but should be something configured in your environment.