当前位置: 代码迷 >> 综合 >> python 链接oracle ORA-12505, TNS:listener does not currently know of SID
  详细解决方案

python 链接oracle ORA-12505, TNS:listener does not currently know of SID

热度:67   发布时间:2023-12-10 06:52:53.0

配置改为service试下

SQLALCHEMY_DATABASE_URI = "oracle://{username}:{password}@{host}:{port}/?service_name={service}".format(**db_cfg)

?service_name={serivce}

  相关解决方案