influxdb deployment failed with a long mysql username
Bug #1543939 reported by
Swann Croiset
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StackLight |
Fix Released
|
Medium
|
Swann Croiset |
Bug Description
2016-02-09 22:26:47 ERR /etc/fuel/
2016-02-09 22:26:47 ERR Parameter name failed on Mysql_user[
The UI must validate the length of the MySQL username.
Also, there is also a possible limitation with the database name.
summary: |
- influxdb deployment failed with a long mysql usernamer + influxdb deployment failed with a long mysql username |
tags: | added: grafana |
Changed in lma-toolchain: | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
description: | updated |
Changed in lma-toolchain: | |
assignee: | nobody → LMA-Toolchain Fuel Plugins (mos-lma-toolchain) |
Changed in lma-toolchain: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Doc:
https:/ /dev.mysql. com/doc/ refman/ 5.6/en/ identifiers. html /dev.mysql. com/doc/ refman/ 5.6/en/ user-names. html
https:/
the username is limited to 16 characters
table and dbname are limited to 64 characters
too keep input validation simple, I propose to allow only these characteres:
ASCII: [0-9,a-z,A-Z$_] (basic Latin letters, digits 0-9, dollar, underscore)