Skip to content

sqlacodegen connection string #11

@ryancartoon

Description

@ryancartoon

Hi,

I'm trying to generate a model file by sqlacodegen with following format. but it reports 'database server not found, -100'.

sqlacodegen sqlalchemy_sqlany://user:password@ip/dbname --outfile model.py

I can connect to the db by sqlanydb with odbc.ini .

Please kindly let me know how to do this.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions