本人在做Oracle11G的数据库迁移的时候,报错如下:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
172.1.3.111:1521:eq_test……
我的数据库net manager 配置如下:
,
在数据库服务器上,该数据库的服务名如下:
而在配置jdbc.properties 文件里我是这样写的:
datasource.url_meta_rw_0=jdbc:oracle:thin:@172.16.113.13:1522:eq_test
datasource.username_meta_rw_0=earth_meta
datasource.password_meta_rw_0=123456
然后在启动项目的时候就报出上述错误。
把jdbc.properties的配置文件修改如下