1.先找到Oracle数据库的安装地址然后找到network->ADMIN->tnsnames.ora文件
2.添加下面文件到tnsnames.ora文件中去,红色部分是需要修改的部分
PRDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = xxxx)
(SERVICE_NAME = xxxx)
)
)
时间: 2024-10-31 10:00:17