-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver error mssql+pyodbc Can't open lib 'ODBC Driver 17 for SQL Server' : file not found (0) #159
Comments
This should be fixed in 2.9.0, which is also current |
Unfortunately not. To be sure I removed the docker image and pulled the latest image from the repository.
Still the same error.
|
Can you try using the dictionary format for the |
What do you mean by 'dictionary format' for the dsn? |
as shown in the readme |
Ah, yes, tried that as well. Unfortunately the same result:
In query.yml
|
@albertodonato any updates or suggestions on this matter? |
I found a sort of work-around. When I update line 49 to |
Would you mind proposing a PR with the change? |
@albertodonato Hi, I have an local branch ready for this fix (as written above), Can you add me permissions to submit my branch? |
What do you mean? You don't need permissions to make a PR with your changes |
With the current 2.9.2 image you have to change the URL to use ODBC driver 18 and ignore the self signed SSL certificate. from: to: |
Describe the bug
Error when trying to connect the database, log shows:
Installation details
pip list
]snap info query-exporter
]To Reproduce
If possible, please provide detailed steps to reproduce the behavior:
As soon as the first connection attempt is made.
Query exporter metrics:
The text was updated successfully, but these errors were encountered: