-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
php app/console sylius:install error with database #2362
Comments
The default Sylius configuration uses a different database for production and development. In your case, this would be You can find the configuration at the end of doctrine:
dbal:
dbname: %sylius.database.name%_dev |
Dear madc, thank you. |
There are 2 assumptions you are taking :
If these are not met, the out of the box installation for new adopters fails frustrating. |
Ended up here for the same reason as above. A note on the installation guide would be good. |
During create the project you can set database name like sylius and during the installation (php app/console sylius:install) the database name changes to sylius_dev, but in the parameters.yml it is still sylius. I get this exeption:
[PHPCR\RepositoryException]
Error inside the transport layer: Unknown fetch type '196615'
[Doctrine\DBAL\Driver\Mysqli\MysqliException]
Unknown fetch type '196615'
If I choose sylius_dev at the creating the project the database name changes to sylius_dev_dev during the installation.
Best regards
Kristina
The text was updated successfully, but these errors were encountered: