Bug #90219
closed"Database name not valid" with sqlite and long path name
0%
Description
I receive the following issue with my current local Setup:
Database name not valid
Given database name must be shorter than fifty characters and consist solely of basic latin letters (a-z), digits (0-9), dollar signs ($) and underscores (_).
The setup uses current TYPO3 Master (as of writing), via composer using sqlite as configured database.
The error is shown in "Environment Status".
I would guess the issue is set in typo3/sysext/install/Classes/SystemEnvironment/DatabaseCheck/Platform/AbstractPlatform.php and there should be a special handling for sqlite which doesn't limit to 50 characters for the sqlite file path?
With this bug in place, it's very hard to get a clean system report (which also executes the environment check).
Leading to spam like this:
Issues:
[ERR] System environment check - 1 Test(s)
- Database name not valid: 2
Updated by Daniel Siepmann almost 5 years ago
- Is duplicate of Feature #85739: Reduce restrictions on database names introduced for DBAL added