Username:
TITLE
No underscore used as delimiter when setting a custom user prefix for database users
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS 7.9
Plesk 18.0.51
MariaDB 10.5
PROBLEM DESCRIPTION
In Tools & Settings > Database Hosting Settings both the option name for a database user prefix:
I've replicated this issue with MariaDB versions 10.2 and 10.5. I am not sure if this issue is also present when using other MariaDB or MySQL versions.
On a separate note, the Database Hosting Preferences documentation could do with an update, as it does not mention anything about using custom prefixes.
STEPS TO REPRODUCE
1) Go to Tools & Settings > Database Hosting Settings
2) Set a custom prefix for database users
3) Go to Domains and either add a new domain or click on an already existing domain
4) Click Databases and then click the Add database button
Notice how there is no underscore to separate the prefix from the user name.
ACTUAL RESULT
No underscore to separate the prefix from the user name.
EXPECTED RESULT
A underscore to separate the prefix from the user name is expected.
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
No underscore used as delimiter when setting a custom user prefix for database users
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
CentOS 7.9
Plesk 18.0.51
MariaDB 10.5
PROBLEM DESCRIPTION
In Tools & Settings > Database Hosting Settings both the option name for a database user prefix:
and the description a for database user prefix:Add a prefix and underscore to the beginning of database user names
indicate that a underscore is used as a delimiter/separtor of the prefix and user name. However when setting a custom prefix for database users no underscore is used as the delimiter of the prefix and user name.Database user names will look like <prefix>_<database_user_name>. Due to the database restriction of the user name length, <prefix> may be abbreviated.
I've replicated this issue with MariaDB versions 10.2 and 10.5. I am not sure if this issue is also present when using other MariaDB or MySQL versions.
On a separate note, the Database Hosting Preferences documentation could do with an update, as it does not mention anything about using custom prefixes.
STEPS TO REPRODUCE
1) Go to Tools & Settings > Database Hosting Settings
2) Set a custom prefix for database users
3) Go to Domains and either add a new domain or click on an already existing domain
4) Click Databases and then click the Add database button
Notice how there is no underscore to separate the prefix from the user name.
ACTUAL RESULT
No underscore to separate the prefix from the user name.
EXPECTED RESULT
A underscore to separate the prefix from the user name is expected.
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug