我无法从sql server数据库表中获取记录。我在下面提到警告。我还添加了我执行的步骤。请帮忙。
我所做的是:
1. Nifi installed
2. JDBC driver downloaded and placed into C drive.
3. Created processor "QueryDatabasetable"
4. In Database Connection Poling Service i configured:
Database Connection URL: jdbc:sqlserver://localhost:1433;databaseName=MyDb
Database driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
Database Location: C:\Program Files\Microsoft JDBC DRIVER 7.2 for SQL Server\mssql-jdbc-7.2.2.jre8.jar
Database user: xxx
Database password: xxx
Database Type: MS SQL 2010+
Table name: T_Items
Columns to return: Price
创建此处理器后,我会带有黄色警告标记:
“根据验证的数据库连接池服务是 无效,因为已禁用ID为Controller的服务