Skip to content

jdbc url is wrongly parsed #11

@fhrzn

Description

@fhrzn

Describe the bug
In the pgjdbc.py there is a logic to parse sqlalchemy generated url to the one expected by jdbc. In the current implementation it causing the java.net.java.net.UnknownHostException error.

To Reproduce
Steps to reproduce the behavior:

  1. Init sqlalchemy engine by putting standard sqlalchemy url or follow the given example
  2. Run the code
  3. See error

Expected behavior
The expected behavior should be connected successfully to the database.

Screenshots
Screenshot 2023-03-12 at 01 38 29

Desktop (please complete the following information):

  • OS: macOS Ventura
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions