Skip to content

[site:install] Incorrect error message when database can't be accessed #4004

@ericmorand

Description

@ericmorand

When the database informations don't allow to access the database, the command site:install returns the following error:

[ERROR] Drupal is already installed, try dropping your database executing database:drop or install executing site:install --force --no-interaction

To reproduce the issue, set an invalid user, database or password in the default database configuration and execute vendor/bin/drupal site:install --force --no-interaction.

The error message should explain that the database couldn't be accessed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions