oracle database kettle given connection, ORA-12505

Error message:

Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

Solution:

(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = IP)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = db_name)))

 

Directly to the above address server template add, modify the port number, plus the name of the database, the data connection directly into the kettle page

E.g:

(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl)))

 

Before this error occurs on Baidu more solution is to jar package version oracle problem, but this method can also be resolved.

Prompted by the way, when connected with es oracle of the colon link into the address / it is possible.

Guess you like

Origin www.cnblogs.com/qinyl/p/12158624.html