Draft: Determine Database username max length automatically
requested to merge Gaetan-FMS/ispconfig3:4483-automatic-database-username-maximum-length into develop
Hi,
This MR is for adding the capability to increase the Database username length automatically to not being limited to 16 characters on modern servers (with MySQL >= 5.7.8 or MariaDB > 10.x) but increase it to 32 characters.
The way it has been implemented is the following:
- the limit applied in file (interface/web/sites/database_user_edit.php) is now determined automatically based on SQL server installation.
- The check on the version installed prevent any break on previous/old setups
- There is no addition of optional button "which would clutter the interface ... while the Team is trying to keep it a bit clear so users don't get lost" (as mentionned by @thom : #4483 (comment 78920)).
Closes #4483
Edited by Thom