Skip to content

Error connecting to python-oracledb  #8674

@centeiol

Description

@centeiol

Describe the bug

Hello I get the error hen connecting with oracle+oracledb

init() got an unexpected keyword argument 'bind'
Connection info needed in SQLAlchemy format, example:
postgresql://username:password@hostname/dbname
or an existing connection: dict_keys([])

To Reproduce

import oracledb
import pandas as pd
import sqlalchemy




%reload_ext sql
#%sql oracle+oracledb://user:pass@host-scan.domain.net:1521/?service_name=XPTO.domain.net

sqlalchemy.__version__

Error

init() got an unexpected keyword argument 'bind'
Connection info needed in SQLAlchemy format, example:
postgresql://username:password@hostname/dbname
or an existing connection: dict_keys([])
'2.0.0b1'

Versions

  • OS: Windows 10 PRO
  • Python: Python 3.9.1
  • SQLAlchemy:'2.0.0b1'
  • Database:Oracle 12c
  • DBAPI (eg: psycopg, cx_oracle, mysqlclient):oracle+oracledb

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting infowaiting for the submitter to give more informationoracle

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions