Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ISPConfig 3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 552
    • Issues 552
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 45
    • Merge requests 45
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Merge requests
  • !1536

Draft: Determine Database username max length automatically

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Gaetan - FMS requested to merge Gaetan-FMS/ispconfig3:4483-automatic-database-username-maximum-length into develop Oct 28, 2021
  • Overview 8
  • Commits 1
  • Changes 51

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 Dec 17, 2021 by Thom
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 4483-automatic-database-username-maximum-length