Sylius / Sylius-Sandbox

[DEPRACATED] Sylius sandbox application, playground and testing place for Sylius and Symfony2 beginners.
Sylius.org
MIT License
76 stars 24 forks source link

Fresh installation doctrine exception #116

Open xavier-sanna opened 7 years ago

xavier-sanna commented 7 years ago

When executing (on a brand new install) php bin/console sylius:install command after parameters setup

[Doctrine\DBAL\Exception\ConnectionException] An exception occured in driver: SQLSTATE[HY000] [1044] Access denied for user 'sylius'@'localhost' to database 'sylius_dev'

[Doctrine\DBAL\Driver\PDOException] SQLSTATE[HY000] [1044] Access denied for user 'sylius'@'localhost' to database 'sylius_dev'

[PDOException] SQLSTATE[HY000] [1044] Access denied for user 'sylius'@'localhost' to database 'sylius_dev'

Parameters config:

parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: null
database_name: sylius
database_user: sylius
database_password: azerty
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
secret: EDITME
locale: en_US

Can you guys enlighten me about this matter ?

xavier-sanna commented 7 years ago

There is a 'dirty' workaround of course if you have a look at appDevDebugProjectContainer.php and appDevDebugProjectContainer.xml. But I feel that I'm missing something here...