Loading...
 
Skip to main content

tiki-install only allows 16 characters in database username

Status
Closed
Subject
tiki-install only allows 16 characters in database username
Version
22.x
Category
  • Bug
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Fixed or Solved
Submitted by
Mai Lapyst
Lastmod by
Jean-Paul
Rating
(0)
Description

The installer supports a hardcoded maximum of 16 characters for the database username, while the database name itself is unrestricted in length.

This causes trouble in some when not most environments, especially hosting.
Most panels use a prefix for database user & name so a restriction in length can fastly cause trouble.

For example my company uses plesk and we have resellers that set the prefix of database-name / -user to a string with more than 16 characters, leaving no place for the actual "name". Also some customers set their "name" part to some lengthy strings. This already causes troubles on installation with tikiwiki through the installer.

Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7798
Created
Monday 02 August, 2021 18:18:36 UTC
by Mai Lapyst
LastModif
Tuesday 05 October, 2021 13:55:45 UTC


Show PHP error messages