我安装了 XE 18c,并与 SQL Developer 建立了联系。我创建了与 Pentaho PDI 的连接,但出现此错误:
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
总是这个错误。