Skip to content
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

bin/setup database port failes #1684

Closed
axzx opened this issue Mar 5, 2021 · 1 comment
Closed

bin/setup database port failes #1684

axzx opened this issue Mar 5, 2021 · 1 comment

Comments

@axzx
Copy link
Contributor

axzx commented Mar 5, 2021

Description

https://docs.shopware.com/en/shopware-platform-dev-en/system-guide/installation?category=shopware-platform-dev-en/system-guide

> bin/setup
Database host [localhost]:

localhost

PHP Fatal error:  Uncaught TypeError: Argument 2 passed to Symfony\Component\Console\Style\SymfonyStyle::ask() must be of the type string or null, int given, called in development/bin/setup on line 94 and defined in development/bin/vendor/symfony/console/Style/SymfonyStyle.php:267

Possible Solution
edit bin/setup
line 94

$configuration['DB_PORT'] = $io->ask('Database port', '3306', $emptyValidation);
@axzx axzx changed the title bin/console setup failes bin/setup database port failes Mar 5, 2021
@shyim
Copy link
Member

shyim commented Mar 5, 2021

Is fixed with shopware/development@b372df4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants