1.打开tnsnames.ora文件
2.将下面格式的文件粘贴进去:
YGTLT = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 50.2.66.243)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )