Issue Bug Rejected

#80115Install Tool: DB connect fails after entering credentials if wrong database is configured

Andreas Wolf 03/03/17, 15:35 updated 04/03/17, 19:53

Description

Situation

  • LocalConfiguration.php contains (incomplete) database credentials: some missing information (e.g. password) and there is no database with the configured name
  • Install Tool is invoked and asks for DB credentials
  • no matter what credentials are entered, an error is shown; basically, the user is deadlocked at that point w/o manual intervention in the config file

Observed behaviour

  • after entering (correct) credentials, an error “Database connect not successful – Connecting to the database with given settings failed. Please check.” is shown

Expected behaviour

  • Proceeding to the next step where the database can be chosen or created

How to reproduce

  • Take an existing, configured installation
  • Open LocalConfiguration.php, delete the “password” entry of the default DB connection there and change the database name to something that does not exist
  • Open the install tool. It should ask for database credentials.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.