Project

General

Profile

Actions

Bug #101172

closed

Streamline output of errer messages in case selected db is already filled

Added by Jochen Roth 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
CLI
Start date:
2023-06-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When running this command with a already filled database:

ddev typo3 setup \
    --driver=mysqli \
    --host=db \
    --dbname=db \
    --port=3306 \
    --username=db \
    --password=db \
    --admin-username=admin \
    --admin-user-password=Password.1 \
    --admin-email="typo3@example.com" \
    --force -n

the following exception is thrown:

In SetupCommand.php line 284:

  The selected database contains already 42 tables. Please delete all tables or select another database.  

Streamline the message like the other error messaged

x The message
Actions

Also available in: Atom PDF