#ORCL = # (DESCRIPTION = # (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) # (CONNECT_DATA = # (SERVER = DEDICATED) # (SERVICE_NAME = orcl) # ) # )
连库串要按照上述格式设置为准,否则无法连接数据库。
填写了上述内容后相当于在UI界面设置了监听。
#ORCL = # (DESCRIPTION = # (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) # (CONNECT_DATA = # (SERVER = DEDICATED) # (SERVICE_NAME = orcl) # ) # )
连库串要按照上述格式设置为准,否则无法连接数据库。
填写了上述内容后相当于在UI界面设置了监听。