timestamp_value not working with MariaDB #656
-
Describe the bug
To Reproduce
Expected behavior |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hey @jgosmann, thanks for reporting the issue. Have you tried adding |
Beta Was this translation helpful? Give feedback.
-
Yes, that solves the problem. Is this documented anywhere? Maybe it makes sense to mention that this might be necessary somewhere close where |
Beta Was this translation helpful? Give feedback.
-
Yeah, absolutely! I'll add it to the docs. It wasn't an issue with PostgreSQL and a few other DBs I was testing (e.g. sqlite). It's a driver thing, not something sql_exporter specific. Sadly, I don't have resources to test all of them, so I have to rely upon the users. 😄👍 |
Beta Was this translation helpful? Give feedback.
-
I'll close the ticket and move it to Discussions (Q&A) as there's a quite nice library of answers already. |
Beta Was this translation helpful? Give feedback.
Hey @jgosmann, thanks for reporting the issue.
Have you tried adding
?parseTime=true
parameter to the DSN?