Sylius / Sylius-Standard

Open Source eCommerce Application on top of Symfony
https://sylius.com
MIT License
241 stars 319 forks source link

Update .env parameters #961

Closed anzweidrej closed 3 months ago

anzweidrej commented 3 months ago

Upon php bin/console sylius:install, the current setup gives the following error:

An exception occurred in the driver: SQLSTATE[HY000] [1044] Access denied for user...

Solution: I was able to solve this by changing the DATABASE_URL to:

DATABASEURL="mysql://root:nopassword@127.0.0.1:3306/sylius%kernel.environment%?serverVersion=8&charset=utf8mb4" DATABASEURL="postgresql://postgres:postgres@127.0.0.1:5432/sylius%kernel.environment%?serverVersion=15&charset=utf8"

Br,