【问题标题】:Fluentd - Not able to connect to SQL server using windows authenticationFluentd - 无法使用 Windows 身份验证连接到 SQL Server
【发布时间】:2023-03-07 07:19:01
【问题描述】:

我能够使用 SQL SERVER AUTHENTICATION 成功连接到 SQL Server,但是它不适用于 WINDOWS AUTHENTICATION,这是一个错误,还是我在配置中遗漏了什么?

<source>
  @type sql
  host HOSTNAME
  database db_name
  adapter sqlserver
  username WindowsUser
  password WindowsPwd
  <table>
    table tbl_name
    update_column insert_timestamp
  </table>
</source>

<match **>
  @type stdout
</match>

我得到以下错误:

[warn]: #0 failed to flush the buffer. retry_time=1 next_retry_seconds=2021-09-01 22:12:40 238620126384680326147/703687441776640000000 +0530 chunk="5caf1c0f1dfbb6d0ca989ce4ffd28fa3" error_class=TinyTds::Error error="Adaptive Server connection failed (localhost)

【问题讨论】:

    标签: ruby-on-rails activerecord fluentd


    【解决方案1】:

    问题已解决,请确保在表名中添加架构名称。

    【讨论】:

      猜你喜欢
      • 2013-09-07
      • 1970-01-01
      • 2011-04-10
      • 2016-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多