Actions
Bug #102994
closedtypo3 setup throws exception as port is not casted to int
Start date:
2024-01-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TYPO3_DB_PORT=3306 \ TYPO3_DB_USERNAME=db \ TYPO3_DB_HOST=db \ TYPO3_DB_DBNAME=db \ TYPO3_DB_PASSWORD=db \ TYPO3_DB_DRIVER=mysqli \ TYPO3_SERVER_TYPE=other \ TYPO3_SETUP_ADMIN_EMAIL=admin@example.com \ TYPO3_SETUP_ADMIN_USERNAME=admin \ TYPO3_SETUP_ADMIN_PASSWORD='Pa$$w0rd' \ TYPO3_SETUP_CREATE_SITE="${DDEV_PRIMARY_URL}/" \ TYPO3_PROJECT_NAME="Test Install" \ vendor/bin/typo3 setup --force Enter the database "port" [default: 3306] ? 3306 Uncaught TYPO3 Exception mysqli::real_connect(): Argument #5 ($port) must be of type ?int, string given thrown in file /var/www/html/.build/v13/vendor/doctrine/dbal/src/Driver/Mysqli/Driver.php in line 44
Actions