Open mapperr opened 3 weeks ago
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:
\c my-db
error: invalid database scheme
If I rename my-db to my_db all works as expected.
my-db
my_db
Should we add this info to the README (I wasnt able to find any hint) or it is a bug?
Hi,
I defined a connection like this in my config.yaml:
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
tomy_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?