问题描述
我正在尝试将Pentaho连接到我的本地MSSQL服务器。 我启动Microsoft SQL Server Management Studio,并提示此窗口,然后单击“连接”:
我正在使用Java 8 Update 261和Pentaho 7.1。我已经从以下链接下载了MSSQL JDBC驱动程序: https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15
并将mssql-jdbc-8.4.1.jre8.jar
放入pdi-ce-7.1.0.0-12\data-integration\lib
文件夹中。我也将文件mssql-jdbc_auth-8.4.1.x64.dll
复制到了C:\Program Files\Java\jre1.8.0_261\bin
...
现在,当我通过Spoon.bat文件启动Pentaho并尝试添加MSSQL连接时,出现错误,此外,我不知道应该在字段中输入什么内容。
主机名:? 数据库名称:(数据库名称为PROFIT) 实例名称: 端口:1433 用户名: ? 密码:?
从图片中您可以看到我输入的内容。我还选中了Use Integrated Security
框。
我收到以下错误:
Error connecting to database: (using class com.microsoft.sqlserver.jdbc.SQLServerDriver)
The TCP/IP connection to the host DESKTOP-CS70NHL,port 1433 has failed. Error: "Socket operation on nonsocket: configureBlocking. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)