连接到Pentaho中的MS SQL SERVER时出错

时间:2015-10-14 04:05:20

标签: pentaho kettle pdi pentaho-ctools

我正在使用Pentaho v5.2。当我试图连接到SQL服务器时,我以下面的错误结束。我已经在pdi-ce-5.2.0.0-209\data-integration\lib下载并放置了所需的驱动程序 sqljdbc4-2.0 jar。请帮助我,因为我是Pentaho的新手。

Error connecting to database [mssqlserverconn] : org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database

Error connecting to database: (using class com.microsoft.sqlserver.jdbc.SQLServerDriver)
Login failed for user 'Lenovo-PC\RamaKrishna'.


org.pentaho.di.core.exception.KettleDatabaseException: 
Error occured while trying to connect to the database

Error connecting to database: (using class com.microsoft.sqlserver.jdbc.SQLServerDriver)
Login failed for user 'Lenovo-PC\RamaKrishna'.

1 个答案:

答案 0 :(得分:1)

从您抛出的错误消息中,它是一个身份验证问题。 看起来您正在尝试使用笔记本电脑域中的用户名 - 这就是您想要的吗?服务器是否接受此用户名(Lenovo-PC\RamaKrishna)?

您可能一直在使用集成安全性,它基本上覆盖了您在文本框中设置的用户名,而是使用您的Windows用户名。

见下文: MS SQL CONNECTION NATIVE