Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashes in connections names in config.yaml cause warnings/errors #470

Open
mapperr opened this issue Jun 13, 2024 · 0 comments
Open

Dashes in connections names in config.yaml cause warnings/errors #470

mapperr opened this issue Jun 13, 2024 · 0 comments

Comments

@mapperr
Copy link

mapperr commented Jun 13, 2024

Hi,

I defined a connection like this in my config.yaml:

connections:
  my-db: 'mysql://mydatabase.example.com:3306/myvay'

and I noted, in general, that using a connection name with dashes in config.yaml cause an warning like:

warning: named connection "my-db" was not defined: invalid identifier

and if I try to connect to that with \c my-db I get:

error: invalid database scheme

If I rename my-db to my_db all works as expected.

Should we add this info to the README (I wasnt able to find any hint) or it is a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant