Skip to content

schema not read from [alias_dsn] #1681

@sgohl

Description

@sgohl

possibly related to: #628
but actually the opposite:

having

[alias_dsn]
mysql1 = mysql://root@mysql1:3306/es

fails with

mycli -d mysql1 
Usage: mycli [OPTIONS] DATABASE
Try 'mycli --help' for help.

Error: Missing argument 'DATABASE'.

why do I need to define the schema in the alias_dsn when I need to provide it as required arg anyway?

how do I provide a config that allows me to just execute

mycli

which will then use a default dsn? I don't want to provide the schema arg to the cli

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