我安装了XE18c,并与SQL建立了连接。我创建了与戊a的连接,但我有以下错误:
Error connecting to database [Localhost] :org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
ORA-01017: nom utilisateur/mot de passe non valide ; connexion refusée
org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database
Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
ORA-01017: nom utilisateur/mot de passe non valide ; connexion refusée我在C:\app\myuser\product\18.0.0\dbhomeXE\network\admin\sqlnet.ora中添加了这一行:
SQLNET.ALLOWED_LOGON_VERSION=8
SQLNET.ALLOWED_LOGON_VERSION_CLIENT = 8
SQLNET.ALLOWED_LOGON_VERSION_SERVER = 8我将这个文件添加到C:.\PDI\data-integration\lib中:
ojdbc6.jar; ojdbc7.jar; ojdbc8.jar在连接中,我将数据库名从XE更改为/XE。
总是这个错误。
发布于 2019-11-25 14:11:33
奥拉-01017的意思和它说的完全一样。无效的用户标识或密码。甲骨文太蠢了,不能在这件事上撒谎。您的请求实际上到达了oracle数据库(可能不是您认为的那个数据库),并且该数据库拒绝您的用户名和/或密码。它与sqlnet设置或jar文件无关。这是一个糟糕的用户名/密码,纯粹而简单。你检查过密码大小写敏感度了吗?您的密码是否有一个特殊字符(如"@"),由某个中间进程解释?例如,在命令行与sqlplus连接时,“@”被解释为连接字符串所遵循的指示符。因此命令'sqlplus myuser/P@ssword‘被解释为使用密码'P’和tns连接字符串'ssword‘。
https://stackoverflow.com/questions/59033258
复制相似问题