Issue Bug Closed

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

Jochen Roth 06/26/23, 19:32 updated 07/09/24, 14:15

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

Reviews 2