You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2024. It is now read-only.
when you call php psr.phar install CREATE DATABASE should be executed
Actual behaviour
when you call php psr.phar install CREATE DABASE fail because database is unknown
How to reproduce
Clone shopware/development
call "ddev config"
call "ddev start"
change your database entries in .psh.yaml.dist
const:
DB_USER: "root"
DB_PASSWORD: "root"
DB_HOST: "db"
DB_PORT: "3306"
DB_NAME: "db"
APP_URL: "https://shopware-dev.ddev.site"
call php psr.phar install on your container
What i assume here. config creates
DATABASE_URL=mysql://root:root@db:3306/db
then DROP DATABASE is called and after this the DATABASE_URL is not valid anymore for the CREATE DATABASE part you need to ignore the databasename in the connection. otherwise PDO crashes.
i assume you added there some hard links for default values