Skip to content

Web Installer ignores missing .env.local and overrides DATABASE_URL with default database name shopware #18

@cramytech

Description

@cramytech

During a Shopware 6.5 update (6.5.8.7 > 6.5.8.18) attempt via the web installer, the process failed with the following error:

In PDOConnect.php line 25:

[PDOException (1049)]
SQLSTATE[HY000] [1049] Unknown database 'shopware'

The project had a valid DATABASE_URL configured in .env, but .env.local was missing. During the web installer process, it seems that the installer ignored the missing .env.local state and overwrote or regenerated the DATABASE_URL with the default database name:

DATABASE_URL=mysql://root:root@localhost/shopware

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions