Description of problem:
When creating a Pipeline Server using a custom database, if the fields Database (dbname) or Username contain a dash (e.g. my-test-database) the Pipeline Server fails to start.
Steps to Reproduce
- Create a Data Science Project
- Configure a Data Connection with credentials for a s3 bucket
- Create a pipeline server, selecting the previous data connection, Show advanced database options and select Connect to external MySQL database
- Fill all fields with the database info. In Database, provide a database name with a dash (e.g. my-test-database)
- Click on Configure
- Wait until an error message is shown: Pipeline server failed
Expected results:
It seems that mariadb/msql lets you create identifiers using unquoted characters (they don't allow the dash and other special characters) and also using quoted characters. RHODS should allow the same identifiers. There is more info in this document: https://mariadb.com/kb/en/identifier-names/
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
RHODS 1.29
Workaround:
Rename the database name and/or username to use only characters allowed for unquoted identifiers: https://mariadb.com/kb/en/identifier-names/