Shopware 5 = config.php
Shopware 6 = .env
In Shopware 6 werden die Datenbank Zugangsdaten in der .env Datei in folgender Zeile festgelegt:
In Shopware 6, the database credentials are set in the .env file in the following line:
DATABASE_URL=mysql://[DB_USERNAME]:[DB_PASSWORD]@[DB_SERVER]:[DB_PORT]/[DB_DATABASE_NAME]
Beispiel / Example:
DATABASE_URL=mysql://root:root@localhost:3306/shopware6