Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

MySql dbms serverName restrictions more strict than documentation #728

Open
kyschouv opened this issue Oct 30, 2019 · 0 comments
Open

MySql dbms serverName restrictions more strict than documentation #728

kyschouv opened this issue Oct 30, 2019 · 0 comments

Comments

@kyschouv
Copy link

I was trying to deploy a mysql dbms today, and it seems like the validation for serverName is stricter than the documentation. The documentation describes the naming requirement as

The server name can contain only lowercase letters, numbers, and the hyphen (-) character. It must contain from 3 to 63 characters.

However, the code in mysql/plan_schemas.go doesn't allow for hyphens, restricting serverName to ^[a-z0-9]+$.

It seems like one or the other should be updated, unless there's a reason for the difference?

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

No branches or pull requests

1 participant