Creation of DBLink ORACLE

CIS Database Link public the Create    
 Connect the TO username identified by password

 using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = target host IP) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = service name)))';


We recommend using this mode. Directly connected to the name of the client configuration will be created, but the query fails reported ora-12154 error.

Think of reasons:

DBLink should create interactive server and server. And listen to configure the client operating reference when creating a client. The file path server and client are not necessarily the same, resulting in a parse error.

If you configure the connection service used in the server Net Manager, and create DBLink with PLSQL directly on the server side, it should be baa problem.


Reference article: https: //blog.csdn.net/aiynmimi/article/details/52857732

Guess you like

Origin blog.csdn.net/iO_O_Oi/article/details/80606857