albertodonato / query-exporter

Export Prometheus metrics from SQL queries
GNU General Public License v3.0
437 stars 101 forks source link

docker+mssql not work #117

Closed km5210 closed 10 months ago

km5210 commented 2 years ago

Hi, I'm facing an issue.

my config is: dsn: mssql+pyodbc://sa:1qaz%40WSX@172.60.30.11:1433/master?MARS_Connection=yes&driver=ODBC+Driver+17+for+SQL+Server

error: ERROR - query-exporter - error from database "db": (pyodbc.OperationalError) ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 (10054) (SQLDriverConnect)')

SOURCE: RHEL 8.4 DEST: WinServer2012R2,MSSQL:2014 SP3 Help me, please.

albertodonato commented 2 years ago

This seems related to https://github.com/mkleehammer/pyodbc/issues/610

albertodonato commented 1 year ago

Can you please test again with 2.9.0?

albertodonato commented 10 months ago

Closing this since it has not seen activity in a while. Please reopen with details if it still applies.