Commit 240befff authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon
Browse files

Bug 1332373: Add 19-character dbprefix limit to documentation

Based on the maximum database object name length in Postgres,
and the longest names of objects we're currently using, 19
characters is the hard limit. (Technically... 25 characters
for MySQL. But why confuse things?)

We're actively testing on test.mahara.org with a 19-character
db prefix, so I think it's safe to tell the users that they
can use one that long.

Change-Id: Id13ee82ca70780791870782b8465695366cee8eb
behatnotneeded: comment change only
parent e47c7859
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -588,6 +588,8 @@ $cfg->usersuniquebyusername = false;
 * global string $cfg->dbprefix If set, Mahara will add this prefix to all of its database table names.
 * This setting is generally only necessary if you are running Mahara in the same database as another
 * web application (a situation most commonly encountered in shared hosting).
 *
 * Due to database name length limits, the dbprefix MUST be no longer than 19 characters.
 */
$cfg->dbprefix = '';