Skip to main content
Question

Database connection unsuccessful: Failed to connect - What certificate is it using?

  • March 11, 2025
  • 67 replies
  • 186 views

Show first post

67 replies

Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

where do earliest and latest go


that field is a js expression field (blue vertical bar) so the backticks are necessary


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

and earliest and latest come from the values i put when running the collector, right?


``SELECT * FROM "database"."dbo"."table" where <fieldname> > ${earliest} and <fieldname> < ${latest}``


yes


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

cool thanks


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

i am guessing all our complex MS SQL queries (lots of joins and such) is not going to work since the docs mention SELECT is all that is supported?


well, a JOIN is part of a SELECT statement, JOINs aren't their own. The intent there in the docs is to not try using a DELETE or INSERT.


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

ah ok


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

i will try out one of our complex queries in a few


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

yeah the crazy complex one we have def fails. select, trim, case, if then else, etc


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

joins


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

i may have missed something in the query, testing it again


Hi <@UJYBKAR2Q&gt;, Ryan from Product here, I'm catching up on this string and interested to hear about your use case. Would you have some time to chat to Tomer and I? We are interested to discuss how you are trying to connect to your SQL server instance


Shawn Cannon
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • March 11, 2025

yeah I wont have time to get into the weeds today but maybe setup some time next week?


Great, I'll ping you individually


Jeremiah Ross

<@U012ZP93EER&gt; My testing has been with Azure, which worked as expected. Here is the ADO formatADO Format:```Server=tcp:<server>,1433;Initial Catalog=<database>;Persist Security Info=False;User ID=<username>;Password={your_password};Encrypt=True;TrustServerCertificate=False;Authentication="Active Directory Password";```