Skip to content

Database connection is not checked during setup #689

Closed
@tzyganu

Description

@tzyganu

I discovered this by accident.
I misspelled the name of my database on install and didn't click on "Test connection and authentication" in the database step of the setup.
The setup goes through until the last step without notifying the user that it cannot connect to the db.
But this is just half of the problem.
I ended up seeing the error message in the final install step in the console.
[ERROR] exception 'Exception' with message 'exception 'PDOException' with message 'SQLSTATE[HY000] [1049] Unknown database 'wrong_db_name_here' in lib\internal\Zend\Db\Adapter\Pdo\Abstract.php:129
and tried to rerun the setup. But it is useless.
The app/etc/local.xml file is already written on the disk and my modifications to the db settings are ignored.
To make it work I have to delete the local.xml file and run the setup again.

Issue spotted on alpha99.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions