【问题标题】:How to connect sql server to thingworx如何将sql server连接到thingworx
【发布时间】:2020-04-07 03:36:39
【问题描述】:

我已经对如何将 thingworx 与 sql server 或 postgre 连接以在 mashup gird 上显示数据进行了一些研究。我发现我需要导入 MSSQLConnector_Extension,但我花了好几天才找到下载​​这些 jdbc 扩展的位置,但我在 ptcmarketplace 中找不到它。有谁知道在哪里下载它或以其他方式将 dbserver 连接到 thingworx。非常感谢

【问题讨论】:

    标签: thingworx


    【解决方案1】:

    MSSQLConnector_Extension 用于旧版本的 Thingworx。 AFAIK,从最新版本(即 Thingworx 8.0 或更高版本)开始,数据库连接器默认与 Thingworx 平台一起提供。

    在 Thingworx 平台中,创建一个事物并在 Base Thing Template 字段下选择 Database。保存事物实体后,将显示配置页面,您可以在其中配置 JDBC 设置。通过适当的 DB 特定配置,可以在 dbserver 和 thingworx 之间建立连接。

    【讨论】:

      【解决方案2】:

      您还可以将 SQL Server 详细信息放在 platform-setting.json 中,这会将 DB 直接连接到 Thingworx 并创建一个名为“thingworx”的单独 DB,Thingworx 中的所有数据都会进入该特定 DB .

      "PersistenceProviderPackageConfigs": {
              "PostgresPersistenceProviderPackage": {
                  "ConnectionInformation": {
                      "jdbcUrl": "jdbc:************/thingworx",
                      "password": "**************",
                      "username": "*****************"
                  }
              }
          }
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-10
        • 2018-03-30
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多